[U-Boot-Users] [PATCH] Support for QNAP TurboStation TS-101/TS-201

Wolfgang Denk wd at denx.de
Tue May 15 22:27:18 CEST 2007


Hello,

in message <200705071247.32202.repvik at kynisk.com> you wrote:
> 
> 	This patch adds support for the QNAP Turbostation TS-101 and TS-201 device=
> s =

LINE WRAP!

> (http://www.qnap.com.tw/pro_storage.asp). Applies to git tree.

Sorry, it does *not* apply:

error: patch fragment without header at line 4: @@ -0,0 +1,35 @@
Adds trailing whitespace.
.dotest/patch:65: 
Adds trailing whitespace.
.dotest/patch:89:
error: patch fragment without header at line 113: @@ -0,0 +1,40 @@
Adds trailing whitespace.
.dotest/patch:159: * 
Adds trailing whitespace.
.dotest/patch:162: * 
Adds trailing whitespace.
.dotest/patch:180: * 
fatal: corrupt patch at line 193
Patch failed at 0001.

See also here:

...
> +		pci_read_config_dword (devbusfn, PCI_BASE_ADDRESS_0,
> +							   (u32 *) &ide_bus_offset[0]);
> +		ide_bus_offset[0] &= 0xfffffffe;
> +		ide_bus_offset[0] = pci_hose_bus_to_phys(&hose,
> +												 ide_bus_offset[0] & 0xfffffffe,
> +												 PCI_REGION_IO);

Strange superlong lines.

> +		pci_read_config_dword (devbusfn, PCI_BASE_ADDRESS_2,
> +							   (u32 *) &ide_bus_offset[1]);
> +		ide_bus_offset[1] &= 0xfffffffe;
> +		ide_bus_offset[1] = pci_hose_bus_to_phys(&hose,
> +												 ide_bus_offset[1] & 0xfffffffe,
> +												 PCI_REGION_IO);

Ditto here.

...
> +int checkboard (void)
> +{
> +	ulong busfreq  = get_bus_freq(0);
> +	char  buf[32];
> +	> 
> +	printf("Board: QNAP TS-101/TS-201 local bus at %s MHz\n", strmhz(buf, > 
> busfreq));
^^^^^^^^^^^^

LINEWRAP.

etc.

Please resubmit after cleaning up.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The day-to-day travails of the IBM programmer are so amusing to  most
of us who are fortunate enough never to have been one - like watching
Charlie Chaplin trying to cook a shoe.




More information about the U-Boot mailing list