freebsd-nq/sys/dev/aac
Poul-Henning Kamp 7812d86f03 (This commit touches about 15 disk device drivers in a very consistent
and predictable way, and I apologize if I have gotten it wrong anywhere,
getting prior review on a patch like this is not feasible, considering
the number of people involved and hardware availability etc.)

If struct disklabel is the messenger: kill the messenger.

Inside struct disk we had a struct disklabel which disk drivers used to
communicate certain metrics to the disklayer above (GEOM or the disk
mini-layer).  This commit changes this communication to use four
explicit fields instead.

Amongst the benefits is that the fields do not get overwritten by
wrong or bogus on-disk disklabels.

Once that is clear, <sys/disk.h> which is included in the drivers
no longer need to pull <sys/disklabel.h> and <sys/diskslice.h> in,
the few places that needs them, have gotten explicit #includes for
them.

The disklabel inside struct disk is now only for internal use in
the disk mini-layer, so instead of embedding it, we malloc it as
we need it.

This concludes (modulus any mistakes) the series of disklabel related
commits.

I belive it all amounts to a NOP for all the rest of you :-)

Sponsored by:   DARPA & NAI Labs.
2002-09-20 19:36:05 +00:00
..
aac_cam.c Fix GET_TRAN_SETTINGS to be more correct. 2002-08-10 19:55:00 +00:00
aac_cam.h Add a CAM interface to the aac driver. This is useful in case you should 2002-04-27 01:31:17 +00:00
aac_compat.h Bring the aac driver *much* closer to style(9). 2001-09-05 20:43:02 +00:00
aac_debug.c Fix deprecated use of label at end of compound statement 2002-05-24 05:58:13 +00:00
aac_disk.c (This commit touches about 15 disk device drivers in a very consistent 2002-09-20 19:36:05 +00:00
aac_ioctl.h Bring the aac driver *much* closer to style(9). 2001-09-05 20:43:02 +00:00
aac_pci.c Fix GET_TRAN_SETTINGS to be more correct. 2002-08-10 19:55:00 +00:00
aac_tables.h MFS: Use correct terminology for RAID 0/1 and 0/5. 2001-12-04 02:39:06 +00:00
aac.c The aac driver needs 256K of contiguous physical memory in order to 2002-08-30 05:02:07 +00:00
aacreg.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
aacvar.h Make FreeBSD "struct disklabel" agnostic, step 311 of 723: 2002-09-20 12:52:03 +00:00