freebsd-dev/sys/dev/ata
Warner Losh ab649fd4d2 Most platforms map the actual drive geometry to the firmware's notion
of geometry.  However, some platforms have a more complicated mapping
of the firmware values to the actual values.  pc98 is the only
platform that currently does this.  This mapping is necessary for
large disks connected to pc98 boxes, as the firmware labels require do
special hacks to the actual geometry for interoperability.  We cannot
do this all in the geom layer because of initialization issues (geom
looks for an already initialized pc98 label, but we need the geometry
information prior to initialization, classic chicken and egg problem).
We pass the disk and the device_t to this function because the
geometry mapping depends on what kind of controller is used.

This hook allows platforms that want to override things to do so, and
has 0 overhead on all other platforms.  These patches have been in use
locally for a long time, and received good feedback from the pc98
community and sos@ at various times during their development.

MFC After: 1 week
2006-08-09 18:23:47 +00:00
..
ata_if.m Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
ata-all.c Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
ata-all.h Update AHCI support to be more generic. 2006-06-28 09:59:09 +00:00
ata-card.c Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
ata-cbus.c Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
ata-chipset.c Unbreak nForce3 SATA support. 2006-08-05 11:41:46 +00:00
ata-disk.c Most platforms map the actual drive geometry to the firmware's notion 2006-08-09 18:23:47 +00:00
ata-disk.h Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
ata-dma.c Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
ata-isa.c Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
ata-lowlevel.c Add preliminary support for the Serverworks HT1000 chip. 2006-07-04 20:36:03 +00:00
ata-pci.c Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
ata-pci.h Unbreak nForce3 SATA support. 2006-08-05 11:41:46 +00:00
ata-queue.c If we get an error w/o atapi sense information, just print a newline 2006-07-21 19:13:05 +00:00
ata-raid.c o s/PsuedoRAID/PseudoRAID/. 2006-04-15 10:27:41 +00:00
ata-raid.h Add r/w support for JMicron ATA RAID metadata. 2006-02-17 13:02:10 +00:00
ata-usb.c Make the ATAPI sense data accessible when using the ioctl interface 2006-03-31 08:09:05 +00:00
atapi-cam.c Make the ATAPI sense data accessible when using the ioctl interface 2006-03-31 08:09:05 +00:00
atapi-cd.c Dont call free on non-alloc'd items. 2006-06-28 15:04:10 +00:00
atapi-cd.h Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
atapi-fd.c In afd_describe(), don't initialize sizestring. On ia64, gcc(1) will 2006-03-30 05:29:57 +00:00
atapi-fd.h Update atapi-fd to support direct devices such as disks. 2006-03-05 20:30:54 +00:00
atapi-tape.c Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00
atapi-tape.h Get rid of the advertising clause in the copyright. 2006-01-05 21:27:19 +00:00