summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-08-27 23:51:31 +0000
committerchristos <christos@NetBSD.org>2006-08-27 23:51:31 +0000
commitca960afcce77594110469e8ac7eaa751695a5914 (patch)
tree5d4431a74abb434372882e452456877752d2b56e /sys/dev
parent72c8baf57c59309aa4517c5bf8041397027da73e (diff)
Oops, this is not ready yet.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/wd.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 170bc0fbbbe..a24216b82bb 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.328 2006/08/27 23:50:53 christos Exp $ */
+/* $NetBSD: wd.c,v 1.329 2006/08/27 23:51:31 christos Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.328 2006/08/27 23:50:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.329 2006/08/27 23:51:31 christos Exp $");
#ifndef ATADEBUG
#define ATADEBUG
@@ -1161,14 +1161,6 @@ wdioctl(dev_t dev, u_long xfer, caddr_t addr, int flag, struct lwp *l)
return EIO;
switch (xfer) {
- case DIOCGMEDIASIZE:
- *(off_t *)addr = (off_t)wd->sc_capacity * DEV_BSIZE;
- return 0;
-
- case DIOCGSECTORSIZE:
- *(u_int *)addr = DEV_BSIZE;
- return 0;
-
#ifdef HAS_BAD144_HANDLING
case DIOCSBAD:
if ((flag & FWRITE) == 0)