看板 DFBSD_submit 關於我們 聯絡資訊
--EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 14, 2005 at 08:06:00PM -0800, Scott Michel wrote: > This patch ought to fix the USB Ethernet transmit/receive problems for > all adaptors, not just kue (cue too!?) I think so. Can you try the attached patch? > --- dev/netif/kue/if_kue.c 2004-10-14 11:31:02.000000000 -0700 > +++ /tmp/if_kue.c 2005-02-14 11:59:39.000000000 -0800 > @@ -279,7 +279,8 @@ > * it's probed while the firmware is still loaded and > * running. > */ > - if (hwrev == 0x0202) > + /* if (hwrev == 0x0202): Apparently this can be 0x2xx) */ > + if (hwrev > 0x0202) > return(0); > > /* Load code segment */ I'd like to have a comment from Bill Paul on this. Joerg --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="usb_isr.diff" Index: usb_ethersubr.c =================================================================== RCS file: /home/joerg/wd/repository/dragonflybsd/src/sys/bus/usb/usb_ethersubr.c,v retrieving revision 1.10 diff -u -r1.10 usb_ethersubr.c --- usb_ethersubr.c 23 Jul 2004 07:16:24 -0000 1.10 +++ usb_ethersubr.c 15 Feb 2005 07:32:43 -0000 @@ -135,10 +135,12 @@ usb_ether_input(struct mbuf *m) { netisr_queue(NETISR_USB, m); + schednetisr(NETISR_USB); } void usb_tx_done(struct mbuf *m) { netisr_queue(NETISR_USB, m); + schednetisr(NETISR_USB); } --EeQfGwPcQSOJBaQU--