diff --git a/sys/pc98/pc98/lpt.c b/sys/pc98/pc98/lpt.c index e78f41a02c3..bea6e78f04e 100644 --- a/sys/pc98/pc98/lpt.c +++ b/sys/pc98/pc98/lpt.c @@ -991,6 +991,10 @@ lpioctl (struct ifnet *ifp, int cmd, caddr_t data) ifp->if_flags &= ~IFF_RUNNING; break; } +#ifdef PC98 + /* XXX */ + return ENOBUFS; +#else if (((ifp->if_flags & IFF_UP)) && (!(ifp->if_flags & IFF_RUNNING))) { if (lpinittables()) return ENOBUFS; @@ -1003,7 +1007,7 @@ lpioctl (struct ifnet *ifp, int cmd, caddr_t data) ifp->if_flags |= IFF_RUNNING; } break; - +#endif case SIOCSIFMTU: ptr = sc->sc_ifbuf; sc->sc_ifbuf = malloc(ifr->ifr_mtu+MLPIPHDRLEN, M_DEVBUF, M_NOWAIT); @@ -1264,8 +1268,10 @@ lpoutput (struct ifnet *ifp, struct mbuf *m, s = splhigh(); +#ifndef PC98 /* Suspend (on laptops) or receive-errors might have taken us offline */ outb(lpt_ctrl_port, LPC_ENA); +#endif if (ifp->if_flags & IFF_LINK0) {