u-boot-brain/drivers
Remy Bohmer a101361bfe DM9000: Add data bus-width auto detection.
The U-boot DM9000x driver contains a compile time bus-width definition for
the databus connected to the network controller.

This compile check makes the code unclear, inflexible and is unneccessary.
It can be asked to the network controller what its bus-width is by reading bits
6 and 7 of the interrupt status register.

The linux kernel already uses a runtime mechanism to determine this bus-width,
so the implementation below looks somewhat like that implementation.

This change has been tested with DM9000A, DM9000E, DM9000EP.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-06-04 23:47:31 -07:00
..
bios_emulator Big white-space cleanup. 2008-05-21 00:14:08 +02:00
block Big white-space cleanup. 2008-05-21 00:14:08 +02:00
dma Big white-space cleanup. 2008-05-21 00:14:08 +02:00
hwmon LM73 bug fix for negative temperatures and cleanup 2008-04-13 08:58:36 -07:00
i2c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
input Big white-space cleanup. 2008-05-21 00:14:08 +02:00
misc Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mtd Big white-space cleanup. 2008-05-21 00:14:08 +02:00
net DM9000: Add data bus-width auto detection. 2008-06-04 23:47:31 -07:00
pci Big white-space cleanup. 2008-05-21 00:14:08 +02:00
pcmcia Big white-space cleanup. 2008-05-21 00:14:08 +02:00
qe Big white-space cleanup. 2008-05-21 00:14:08 +02:00
rtc Big white-space cleanup. 2008-05-21 00:14:08 +02:00
serial Big white-space cleanup. 2008-05-21 00:14:08 +02:00
spi Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usb Fix endianess conversion in usb_ohci.c 2008-05-22 17:14:17 +02:00
video Big white-space cleanup. 2008-05-21 00:14:08 +02:00