Cleanup ata hard drive detection.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 18 May 2008 05:43:07 +0000 (01:43 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 18 May 2008 05:43:07 +0000 (01:43 -0400)
commitc143761594e4961c408be4866aa10ce2b64eebe7
tree044eed2fdb71103fe4da63dc2de60e6ced05e845
parentabc7597692b8c74ca91d86a17c9f2590952323cf
Cleanup ata hard drive detection.

Don't rely on nvram for hd geometry - instead use values autodetected.
Don't outb() to PORT_HD_DATA - was left over from old code.
Reorganize parts of ata_init/ata_detect.
Separate hd geometry translation code to its own functions.
src/ata.c