diff options
author | nyan <nyan@FreeBSD.org> | 2003-05-01 14:40:16 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-05-01 14:40:16 +0000 |
commit | 0ecbcb89a3dff86799319bbf2a4d85d076c62788 (patch) | |
tree | d3099caa9bdda40a9fcefcad0bd48f874a9dd816 | |
parent | 9e8300e563e0e22571d5a17004590fe95f4ffb6d (diff) | |
download | FreeBSD-src-0ecbcb89a3dff86799319bbf2a4d85d076c62788.zip FreeBSD-src-0ecbcb89a3dff86799319bbf2a4d85d076c62788.tar.gz |
Remove DIOCGPC98 ioctl.
-rw-r--r-- | sys/geom/geom_pc98.c | 5 | ||||
-rw-r--r-- | sys/sys/diskpc98.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index 312ae3c..a086789 100644 --- a/sys/geom/geom_pc98.c +++ b/sys/geom/geom_pc98.c @@ -200,11 +200,6 @@ g_pc98_start(struct bio *bp) gio = (struct g_ioctl *)bp->bio_data; switch (gio->cmd) { - case DIOCGPC98: - /* Return a copy of the disklabel to userland. */ - bcopy(mp->sec, gio->data, 8192); - g_io_deliver(bp, 0); - return (1); case DIOCSPC98: /* * These we cannot do without the topology lock and some diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index 67b80e0..bcd4b85 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -69,7 +69,6 @@ CTASSERT(sizeof (struct pc98_partition) == 32); void pc98_partition_dec(void const *pp, struct pc98_partition *d); void pc98_partition_enc(void *pp, struct pc98_partition *d); -#define DIOCGPC98 _IOR('M', 128, u_char[8192]) #define DIOCSPC98 _IOW('M', 129, u_char[8192]) #endif /* !_SYS_DISKPC98_H_ */ |