summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2006-10-05 11:08:31 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2006-10-05 11:08:31 +0000
commit2a7a99260c01518e970c2a2eb0ea06ed76246428 (patch)
treef208314a7912f3d4ebb3ec3f42da89865027fc54 /sys/dev
parentd49b946b068d885ea5847137912d8b876b1d0d24 (diff)
Remove obsolete ioctl command.
ok claudio@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/pgt.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c
index b4bccea0d93..91d46441337 100644
--- a/sys/dev/ic/pgt.c
+++ b/sys/dev/ic/pgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pgt.c,v 1.26 2006/10/05 08:56:51 mglocker Exp $ */
+/* $OpenBSD: pgt.c,v 1.27 2006/10/05 11:08:30 mglocker Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -2223,10 +2223,6 @@ pgt_start(struct ifnet *ifp)
int
pgt_ioctl(struct ifnet *ifp, u_long cmd, caddr_t req)
{
-#if 0
- struct ifprismoidreq *preq;
- struct ieee80211req *ireq;
-#endif
struct pgt_softc *sc = ifp->if_softc;
struct ifaddr *ifa;
struct ifreq *ifr;
@@ -2244,25 +2240,6 @@ pgt_ioctl(struct ifnet *ifp, u_long cmd, caddr_t req)
s = splnet();
switch (cmd) {
-#if 0
- case SIOCGPRISMOID:
- case SIOCSPRISMOID:
- error = suser(curthread);
- if (error)
- return (error);
- preq = (struct ifprismoidreq *)req;
- if (preq->ifr_oidlen > sizeof(preq->ifr_oiddata))
- return (ENOMEM);
- pgt_enter_critical(sc);
- if (cmd == SIOCGPRISMOID)
- error = pgt_oid_retrieve(sc, preq->ifr_oid,
- preq->ifr_oiddata, preq->ifr_oidlen);
- else
- error = pgt_oid_set(sc, preq->ifr_oid,
- preq->ifr_oiddata, preq->ifr_oidlen);
- pgt_exit_critical(sc);
- break;
-#endif
case SIOCS80211SCAN:
/*
* This chip scans always as soon as it gets initialized.