]> xenbits.xensource.com Git - seabios.git/commit
Fix ATA iobase2 access on PCI native mode interfaces.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 5 Dec 2009 18:36:18 +0000 (13:36 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 5 Dec 2009 18:36:18 +0000 (13:36 -0500)
commit525219b764a2737114d157164bc600d3fc5fddf2
tree6c27e589e1bff1572cbe2065a312c114c09555e4
parent4ccb23125e8653e9dc1c42f2f2ae57594ef072c3
Fix ATA iobase2 access on PCI native mode interfaces.

The ctrl register is iorange + 2 not iorange + 6.
Rework port definitions to be based on PCI offsets instead of ISA.
Also, properly define ATA irqs when in PCI compatibility mode.
src/ata.c
src/ata.h
src/ioport.h
src/pciinit.c