freebsd-dev/sys/mips
Warner Losh dfa1a4fbf9 Add support for True IDE mode to the Octeon CF driver. This mode is
signalled when the attribute address for the CF is 0 in the octeon
sysinfo structure.  In this mode, the DATA port is 16-bits, but the
other ports are 8-bits, but on a 16-bit bus (so you have to access it
a short at a time, but only believe the lower byte).  See the code for
more details on this slightly odd arrangement.  I'm still not 100%
happy with the abstractions here on many levels (starting with the
globals for these settings, on down to no bus_space use, etc), but the
driver had these problems before the change.

Also, clean up the code a bit to make this support easier, and the
code a bit easier to read.  I tried to follow existing style, but may
have missed a few spots.  Add some comments.

Fix probe/attach routine to return a proper error for the simulator.

With this change, my EBH5200 eval board now recognizes the CF well
enough to boot to the login prompt.  Before it would say it never
became ready.  My CN3010-EVB-HS5 still boots properly.  My older
CN3860-based board won't load the 64-bit kernel, either before or
after the change, and I didn't chase that down.
2011-06-04 07:06:05 +00:00
..
adm5120 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
alchemy - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
atheros Fix GPIO_MAXPINS calculation for the AR71xx, AR724x, AR913x SoC. 2011-05-06 02:45:02 +00:00
cavium Add support for True IDE mode to the Octeon CF driver. This mode is 2011-06-04 07:06:05 +00:00
compile
conf Use new option names for NFS client and NFS server 2011-05-11 00:52:41 +00:00
idt - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
include Merge r221846 from largeSMP project branch: 2011-05-23 23:35:50 +00:00
malta Switch the GENERIC kernels for all architectures to the new CAM-based ATA 2011-04-24 08:58:58 +00:00
mips On multi-core, multi-threaded PPC systems, it is important that the threads 2011-05-31 15:11:43 +00:00
rmi Change rman_manage_region() to actually honor the rm_start and rm_end 2011-04-29 18:41:21 +00:00
rt305x Import the initial CPU support for the MIPS RALink RT305x SoC. 2011-04-03 14:39:55 +00:00
sentry5 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
sibyte Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00