diff options
author | phk <phk@FreeBSD.org> | 2002-04-08 08:00:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-08 08:00:40 +0000 |
commit | 28a8eb54fff24ffda7309ddb4c6256e0e808c617 (patch) | |
tree | 1b5c7706fc17bee5fceb0961342ac43c402f2428 /sys | |
parent | b2401764d7c899eeafa48efb3ab173dd9dcbd999 (diff) | |
download | FreeBSD-src-28a8eb54fff24ffda7309ddb4c6256e0e808c617.zip FreeBSD-src-28a8eb54fff24ffda7309ddb4c6256e0e808c617.tar.gz |
In reverence of the 3rd X11 development rule:
3.The only thing worse than generalizing from one example
is generalizing from no examples at all.
Remove the fwcylinders attribute before anybody gets the idea that we
alone have squared the circle.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/geom_dev.c | 3 | ||||
-rw-r--r-- | sys/geom/geom_disk.c | 3 | ||||
-rw-r--r-- | sys/sys/disklabel.h | 1 | ||||
-rw-r--r-- | sys/sys/diskmbr.h | 1 | ||||
-rw-r--r-- | sys/sys/diskpc98.h | 1 |
5 files changed, 0 insertions, 9 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c index 1365eea..7538fa7 100644 --- a/sys/geom/geom_dev.c +++ b/sys/geom/geom_dev.c @@ -262,9 +262,6 @@ g_dev_ioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct thread *td) case DIOCGFWHEADS: error = g_io_getattr("GEOM::fwheads", cp, &i, data); break; - case DIOCGFWCYLINDERS: - error = g_io_getattr("GEOM::fwcylinders", cp, &i, data); - break; default: gio = g_malloc(sizeof *gio, M_WAITOK); gio->cmd = cmd; diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index 89ce70c..3b7b239 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -143,9 +143,6 @@ g_disk_start(struct bio *bp) else if (g_haveattr_int(bp, "GEOM::fwheads", dp->d_label.d_ntracks)) break; - else if (g_haveattr_int(bp, "GEOM::fwcylinders", - dp->d_label.d_ncylinders)) - break; else if (g_haveattr_off_t(bp, "GEOM::mediasize", dp->d_label.d_secsize * (off_t)dp->d_label.d_secperunit)) break; diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index a564c81..870e1a9 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -358,7 +358,6 @@ CTASSERT(sizeof (struct dos_partition) == 16); #define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */ #define DIOCGFWSECTORS _IOR('d', 130, u_int) /* Get firmware sectorcount */ #define DIOCGFWHEADS _IOR('d', 131, u_int) /* Get firmware headcount */ -#define DIOCGFWCYLINDERS _IOR('d', 132, u_int) /* Get firmware cyl'scount */ #define DIOCGKERNELDUMP _IOW('d', 133, u_int) /* Set/Clear kernel dumps */ #ifdef __alpha__ diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h index a564c81..870e1a9 100644 --- a/sys/sys/diskmbr.h +++ b/sys/sys/diskmbr.h @@ -358,7 +358,6 @@ CTASSERT(sizeof (struct dos_partition) == 16); #define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */ #define DIOCGFWSECTORS _IOR('d', 130, u_int) /* Get firmware sectorcount */ #define DIOCGFWHEADS _IOR('d', 131, u_int) /* Get firmware headcount */ -#define DIOCGFWCYLINDERS _IOR('d', 132, u_int) /* Get firmware cyl'scount */ #define DIOCGKERNELDUMP _IOW('d', 133, u_int) /* Set/Clear kernel dumps */ #ifdef __alpha__ diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index a564c81..870e1a9 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -358,7 +358,6 @@ CTASSERT(sizeof (struct dos_partition) == 16); #define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */ #define DIOCGFWSECTORS _IOR('d', 130, u_int) /* Get firmware sectorcount */ #define DIOCGFWHEADS _IOR('d', 131, u_int) /* Get firmware headcount */ -#define DIOCGFWCYLINDERS _IOR('d', 132, u_int) /* Get firmware cyl'scount */ #define DIOCGKERNELDUMP _IOW('d', 133, u_int) /* Set/Clear kernel dumps */ #ifdef __alpha__ |