Page MenuHomeFreeBSD

D14889.diff
No OneTemporary

D14889.diff

Index: head/sys/dev/de/if_de.c
===================================================================
--- head/sys/dev/de/if_de.c
+++ head/sys/dev/de/if_de.c
@@ -4266,18 +4266,6 @@
break;
}
-#ifdef SIOCGADDRROM
- case SIOCGADDRROM: {
- error = copyout(sc->tulip_rombuf, ifr->ifr_data, sizeof(sc->tulip_rombuf));
- break;
- }
-#endif
-#ifdef SIOCGCHIPID
- case SIOCGCHIPID: {
- ifr->ifr_metric = (int) sc->tulip_chipid;
- break;
- }
-#endif
default: {
error = ether_ioctl(ifp, cmd, data);
break;
Index: head/sys/dev/de/if_devar.h
===================================================================
--- head/sys/dev/de/if_devar.h
+++ head/sys/dev/de/if_devar.h
@@ -876,11 +876,6 @@
#define TULIP_TXMAP_POSTSYNC(ri, di) \
_TULIP_MAP_SYNC(ri, di, BUS_DMASYNC_POSTWRITE)
-#ifdef notyet
-#define SIOCGADDRROM _IOW('i', 240, struct ifreq) /* get 128 bytes of ROM */
-#define SIOCGCHIPID _IOWR('i', 241, struct ifreq) /* get chipid */
-#endif
-
#if defined(TULIP_HDR_DATA)
static tulip_softc_t *tulips[TULIP_MAX_DEVICES];
#endif

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 19, 4:46 PM (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16724198
Default Alt Text
D14889.diff (1 KB)

Event Timeline