diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-05-01 14:40:16 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-05-01 14:40:16 +0000 |
| commit | 4b4582a84cbd3fd8ed51b8b84eca661e5af6263b (patch) | |
| tree | d3099caa9bdda40a9fcefcad0bd48f874a9dd816 | |
| parent | 60a87a5fa21f572e5f1ca21273f666eacd29c113 (diff) | |
Notes
| -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 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_ */ |
