cvs commit: src/sys/pci if_xl.c if_xlreg.h

2008-05-28 Thread John Baldwin
jhb 2008-05-28 15:34:29 UTC FreeBSD src repository Modified files: sys/pci if_xl.c if_xlreg.h Log: Remove unused 'xl_unit' member from softc. Revision ChangesPath 1.214 +0 -1 src/sys/pci/if_xl.c 1.61 +0 -1 src/sys/pci/if_xlreg.h _

cvs commit: src/sys/pci if_xl.c if_xlreg.h

2008-04-23 Thread Marius Strobl
marius 2008-04-23 21:38:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/pci if_xl.c if_xlreg.h Log: MFC: if_xl.c 1.211, 1.212, 1.213 (partial); if_xlreg.h 1.60 - Spelling fix for interupt -> interrupt - Fix function prototype for d

cvs commit: src/sys/pci if_xl.c if_xlreg.h

2008-04-23 Thread Marius Strobl
marius 2008-04-23 21:28:30 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/pci if_xl.c if_xlreg.h Log: - Spelling fix for interupt -> interrupt - Take advantage of bus_dmamap_load_mbuf_sg(9). - Take advantage of m_collapse(9). - Sync w

cvs commit: src/sys/pci if_xl.c if_xlreg.h

2008-03-24 Thread Marius Strobl
marius 2008-03-24 17:49:06 UTC FreeBSD src repository Modified files: sys/pci if_xl.c if_xlreg.h Log: - Take advantage of bus_dmamap_load_mbuf_sg(9). - Take advantage of m_collapse(9). - Sync with other NIC drivers and prepend a TX mbuf if the first attempt

cvs commit: src/sys/pci if_xl.c if_xlreg.h

2007-09-15 Thread Marius Strobl
marius 2007-09-15 09:57:02 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/pci if_xl.c if_xlreg.h Log: MFC: if_xl.c 1.192, 1.199, 1.206, 1.207, 1.208; if_xlreg.h 1.57, 1,58, 1.59 - The 575A doesn't have funcregs in memio. So don't claim

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-07 Thread Marius Strobl
On Wed, Dec 06, 2006 at 06:01:48PM +1100, Bruce Evans wrote: > On Wed, 6 Dec 2006, Marius Strobl wrote: > > >marius 2006-12-06 02:18:41 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/pci if_xl.c if_xlreg.h > > Log: > > - Use the xl_stats_update() callout ins

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-06 Thread Scott Long
Sam Leffler wrote: Gleb Smirnoff wrote: On Wed, Dec 06, 2006 at 06:01:48PM +1100, Bruce Evans wrote: B> It's a shame to force all NIC drivers to manage the timeout for this. B> Most have a timeout for other purposes so I couldn't see how to save B> much code using a callback, but a callback wou

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-06 Thread Sam Leffler
Gleb Smirnoff wrote: > On Wed, Dec 06, 2006 at 09:12:23AM -0800, Sam Leffler wrote: > S> > On Wed, Dec 06, 2006 at 06:01:48PM +1100, Bruce Evans wrote: > S> > B> It's a shame to force all NIC drivers to manage the timeout for this. > S> > B> Most have a timeout for other purposes so I couldn't see

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-06 Thread Gleb Smirnoff
On Wed, Dec 06, 2006 at 09:12:23AM -0800, Sam Leffler wrote: S> > On Wed, Dec 06, 2006 at 06:01:48PM +1100, Bruce Evans wrote: S> > B> It's a shame to force all NIC drivers to manage the timeout for this. S> > B> Most have a timeout for other purposes so I couldn't see how to save S> > B> much code

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-06 Thread Sam Leffler
Gleb Smirnoff wrote: > On Wed, Dec 06, 2006 at 06:01:48PM +1100, Bruce Evans wrote: > B> It's a shame to force all NIC drivers to manage the timeout for this. > B> Most have a timeout for other purposes so I couldn't see how to save > B> much code using a callback, but a callback would be cleaner.

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-06 Thread Gleb Smirnoff
On Wed, Dec 06, 2006 at 06:01:48PM +1100, Bruce Evans wrote: B> It's a shame to force all NIC drivers to manage the timeout for this. B> Most have a timeout for other purposes so I couldn't see how to save B> much code using a callback, but a callback would be cleaner. (To avoid B> the race, just

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-05 Thread Bruce Evans
On Wed, 6 Dec 2006, Bruce Evans wrote: On Wed, 6 Dec 2006, Marius Strobl wrote: ... While at it relax the watchdog a bit by reloading it in xl_txeof()/ xl_txeof_90xB() if there are still packets enqueued. Er, xl_txeof_90xB() was one of the 20-30% of txeof() routines that handled this co

Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-05 Thread Bruce Evans
On Wed, 6 Dec 2006, Marius Strobl wrote: marius 2006-12-06 02:18:41 UTC FreeBSD src repository Modified files: sys/pci if_xl.c if_xlreg.h Log: - Use the xl_stats_update() callout instead of if_slowtimo() for driving xl_watchdog() in order to avoid races accessing if

cvs commit: src/sys/pci if_xl.c if_xlreg.h

2006-12-05 Thread Marius Strobl
marius 2006-12-06 02:18:41 UTC FreeBSD src repository Modified files: sys/pci if_xl.c if_xlreg.h Log: - Use the xl_stats_update() callout instead of if_slowtimo() for driving xl_watchdog() in order to avoid races accessing if_timer. While at it relax the wat