Remove DIOCGPC98 ioctl.
This commit is contained in:
parent
9e8300e563
commit
0ecbcb89a3
@ -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
|
||||
|
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user