freebsd-dev/sys/cam/scsi
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
..
scsi_all.c Make SCSI_DELAY setable at boot time and runtime via the 2002-09-02 20:10:19 +00:00
scsi_all.h Make SCSI_DELAY setable at boot time and runtime via the 2002-09-02 20:10:19 +00:00
scsi_cd.c (This commit touches about 15 disk device drivers in a very consistent 2002-09-20 19:36:05 +00:00
scsi_cd.h Remove spurious ';' 2002-02-10 21:36:13 +00:00
scsi_ch.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_ch.h Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
scsi_da.c (This commit touches about 15 disk device drivers in a very consistent 2002-09-20 19:36:05 +00:00
scsi_da.h Implement a new camcontrol function, 'camcontrol format'. 2000-05-21 23:57:52 +00:00
scsi_dvcfg.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_iu.h scsi_message.h: 2002-06-05 19:05:01 +00:00
scsi_low_pisa.c o Add KLD support for scsi_low. 2001-12-15 12:32:23 +00:00
scsi_low_pisa.h Remove __P. 2002-03-20 08:56:31 +00:00
scsi_low.c Remove __P. 2002-03-20 08:56:31 +00:00
scsi_low.h Remove __P. 2002-03-20 08:56:31 +00:00
scsi_message.h scsi_message.h: 2002-06-05 19:05:01 +00:00
scsi_pass.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_pass.h Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
scsi_pt.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_pt.h Spell declarations correctly. 2001-01-12 02:49:40 +00:00
scsi_sa.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_sa.h Spell declarations correctly. 2001-01-12 02:49:40 +00:00
scsi_ses.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_ses.h Move the kernel specific stuff into scsi_ses.c. Redo the ioctls 2000-01-15 22:40:04 +00:00
scsi_targ_bh.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_target.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_targetio.h (Forced commit- last commit was inadvertant in that it missed the comments) 2001-07-30 00:27:54 +00:00