From 0ecbcb89a3dff86799319bbf2a4d85d076c62788 Mon Sep 17 00:00:00 2001 From: nyan Date: Thu, 1 May 2003 14:40:16 +0000 Subject: [PATCH] Remove DIOCGPC98 ioctl. --- sys/geom/geom_pc98.c | 5 ----- sys/sys/diskpc98.h | 1 - 2 files changed, 6 deletions(-) diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index 312ae3c3402e..a0867894ecd1 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 67b80e061a6a..bcd4b85fa886 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_ */