From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Mon, 14 May 2007 17:01:05 -0700 (PDT) |
dillon 2007/05/14 17:01:04 PDT DragonFly src repository Modified files: sys/bus/cam/scsi scsi_cd.c scsi_da.c sys/contrib/dev/fla fla.c sys/dev/disk/ata ata-disk.c ata-raid.c atapi-fd.c sys/dev/disk/fd fd.c sys/dev/disk/md md.c sys/dev/disk/nata ata-disk.c ata-raid.c atapi-fd.c sys/dev/raid/aac aac_disk.c aacvar.h sys/dev/raid/amr amr_disk.c sys/dev/raid/ida ida_disk.c sys/dev/raid/ips ips_disk.c sys/dev/raid/mlx mlx_disk.c mlxvar.h sys/dev/raid/pst pst-raid.c sys/dev/raid/twe twe_freebsd.c twevar.h sys/dev/virtual/disk vdisk.c sys/kern subr_disk.c subr_diskmbr.c subr_diskslice.c sys/sys disk.h disklabel.h diskslice.h Log: Continue untangling the disklabel. Have most disk device drivers fill out and install a generic disk_info structure instead of filling out random fields in the disklabel. The generic disk_info structure uses a 64 bit integer to represent the media size in bytes or total sector count. Revision Changes Path 1.29 +28 -44 src/sys/bus/cam/scsi/scsi_cd.c 1.35 +23 -13 src/sys/bus/cam/scsi/scsi_da.c 1.18 +20 -10 src/sys/contrib/dev/fla/fla.c 1.34 +14 -11 src/sys/dev/disk/ata/ata-disk.c 1.26 +12 -11 src/sys/dev/disk/ata/ata-raid.c 1.21 +13 -9 src/sys/dev/disk/ata/atapi-fd.c 1.37 +1 -1 src/sys/dev/disk/fd/fd.c 1.16 +12 -10 src/sys/dev/disk/md/md.c 1.3 +15 -8 src/sys/dev/disk/nata/ata-disk.c 1.6 +13 -8 src/sys/dev/disk/nata/ata-raid.c 1.3 +13 -10 src/sys/dev/disk/nata/atapi-fd.c 1.17 +13 -12 src/sys/dev/raid/aac/aac_disk.c 1.16 +0 -1 src/sys/dev/raid/aac/aacvar.h 1.14 +13 -20 src/sys/dev/raid/amr/amr_disk.c 1.15 +13 -11 src/sys/dev/raid/ida/ida_disk.c 1.12 +15 -11 src/sys/dev/raid/ips/ips_disk.c 1.12 +13 -11 src/sys/dev/raid/mlx/mlx_disk.c 1.11 +0 -1 src/sys/dev/raid/mlx/mlxvar.h 1.23 +15 -12 src/sys/dev/raid/pst/pst-raid.c 1.26 +14 -13 src/sys/dev/raid/twe/twe_freebsd.c 1.9 +0 -1 src/sys/dev/raid/twe/twevar.h 1.4 +12 -21 src/sys/dev/virtual/disk/vdisk.c 1.29 +41 -5 src/sys/kern/subr_disk.c 1.19 +2 -2 src/sys/kern/subr_diskmbr.c 1.28 +1 -0 src/sys/kern/subr_diskslice.c 1.11 +49 -2 src/sys/sys/disk.h 1.18 +1 -1 src/sys/sys/disklabel.h 1.9 +0 -5 src/sys/sys/diskslice.h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_cd.c.diff?r1=1.28&r2=1.29&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_da.c.diff?r1=1.34&r2=1.35&f=u http://www.dragonflybsd.org/cvsweb/src/sys/contrib/dev/fla/fla.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-disk.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-raid.c.diff?r1=1.25&r2=1.26&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-fd.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/fd/fd.c.diff?r1=1.36&r2=1.37&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/md/md.c.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/ata-disk.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/ata-raid.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/atapi-fd.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/aac/aac_disk.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/aac/aacvar.h.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/amr/amr_disk.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/ida/ida_disk.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/ips/ips_disk.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/mlx/mlx_disk.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/mlx/mlxvar.h.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/pst/pst-raid.c.diff?r1=1.22&r2=1.23&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twe_freebsd.c.diff?r1=1.25&r2=1.26&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twevar.h.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/virtual/disk/vdisk.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_disk.c.diff?r1=1.28&r2=1.29&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskmbr.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskslice.c.diff?r1=1.27&r2=1.28&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/disk.h.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/disklabel.h.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/diskslice.h.diff?r1=1.8&r2=1.9&f=u