#
129eaf79 |
| 16-Sep-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Don't read the MAC address from a copy of the EEPROM in the softc that has been recorded earlier and overwrite it again later by reading it directly from the EEPROM again.
Read the MAC address from
Don't read the MAC address from a copy of the EEPROM in the softc that has been recorded earlier and overwrite it again later by reading it directly from the EEPROM again.
Read the MAC address from the PAR0/PAR1 registers instead, which are autoloaded on reboot.
Tested on AN985, AN983B. According to the datasheets, it should also work for the AL981 (I don't have such a chip on a card at home)
PR: 52988 Submitted by: Andrew Gordon <arg-bsd@arg.me.uk> MFC after: 2 weeks
show more ...
|
#
e27951b2 |
| 02-Sep-2003 |
John Baldwin <jhb@FreeBSD.org> |
Use PCIR_BAR(x) instead of PCIR_MAPS.
Glanced over by: imp, gibbs Tested by: i386 LINT
|
#
4a80e74b |
| 27-Aug-2003 |
Martin Blapp <mbr@FreeBSD.org> |
All davicom cards seem to need DC_TX_ALIGN.
|
#
7dfdc26c |
| 25-Aug-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Make TX on davicom 9102A working again. This chip needs its mbufs aligned on TX.
PR: 53656, 42714 MFC after: 3 days
|
#
19b7ffd1 |
| 22-Aug-2003 |
Warner Losh <imp@FreeBSD.org> |
Prefer new location of pci include files (which have only been in the tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
|
#
c06eb4e2 |
| 19-Aug-2003 |
Sam Leffler <sam@FreeBSD.org> |
Change instances of callout_init that specify MPSAFE behaviour to use CALLOUT_MPSAFE instead of "1" for the second parameter. This does not change the behaviour; it just makes the intent more clear.
|
#
aafb3ebb |
| 27-Jul-2003 |
Maxime Henrion <mux@FreeBSD.org> |
Use the BUS_DMA_ZERO flag.
|
#
4c16d09e |
| 19-Jul-2003 |
Warner Losh <imp@FreeBSD.org> |
Add support for FA-511; Submitted by: Kenneth P. Stox; Pr 42858
|
#
e7b9ab3a |
| 10-Jul-2003 |
Bill Paul <wpaul@FreeBSD.org> |
Add support for a bunch of Microsoft networking products:
- MN-110 10/100 USB ethernet (ADMtek Pegasus II, if_aue) - MN-120 10/100 cardbus (ADMtek Centaur-C, if_dc) - MN-130 10/100 PCI (ADMtek Centa
Add support for a bunch of Microsoft networking products:
- MN-110 10/100 USB ethernet (ADMtek Pegasus II, if_aue) - MN-120 10/100 cardbus (ADMtek Centaur-C, if_dc) - MN-130 10/100 PCI (ADMtek Centaur-P, if_dc)
Also update dc(4) man page to mention support for MN-120 and MN-130.
show more ...
|
#
af4358c7 |
| 09-Jul-2003 |
Maxime Henrion <mux@FreeBSD.org> |
Make the dc(4) driver endian-clean, so to that it works on sparc64. There are such cards in Netra X1 boxes, which should thus be fully supported now.
Tested by: jake
|
#
56e5e7ae |
| 06-Jul-2003 |
Maxime Henrion <mux@FreeBSD.org> |
Convert the dc(4) driver to the busdma API. This is a necessary step to have this driver working on sparc64. It still needs to be made endian-clean before it can work there.
Special thanks to drag
Convert the dc(4) driver to the busdma API. This is a necessary step to have this driver working on sparc64. It still needs to be made endian-clean before it can work there.
Special thanks to dragonk@evilcode.net for sending me a dc(4) card so that I was able to do this work.
Many cheers to all the people that tested this change, thanks to them, this change shouldn't break anything :-).
Tested by: marcel (i386 and ia64), ru (i386), wilko (alpha), mbr (i386), wpaul (i386) and Will Saxon <WillS@housing.ufl.edu> (i386)
show more ...
|
#
3d6ae7e0 |
| 06-Jul-2003 |
Maxime Henrion <mux@FreeBSD.org> |
Fix a bug that could cause dc(4) to m_freem() an already freed mbuf or something that isn't an mbuf.
MFC after: 3 days
|
#
b3811c95 |
| 06-Jul-2003 |
Maxime Henrion <mux@FreeBSD.org> |
Various style(9) and readability fixes.
|
#
b84e866a |
| 03-Jul-2003 |
Warner Losh <imp@FreeBSD.org> |
Due to extreme bogusness in the pci bus layer, these drivers were forced to do slightly bogus power state manipulation. However, this is one of those features that is preventing further progress, so
Due to extreme bogusness in the pci bus layer, these drivers were forced to do slightly bogus power state manipulation. However, this is one of those features that is preventing further progress, so mark them as BURN_BIRDGES like I did for the drivers in sys/dev/...
This, like the other change, are a no-op unless you have BURN_BRIDGES in your kernel.
show more ...
|
#
e351d778 |
| 08-Jun-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Add ADMtek ADM9511 and ADM9513 device ID's.
PR: PR51823 Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp> Reviewed by: phk MFC after: 2 days
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
1edc4c46 |
| 02-Jun-2003 |
Maxime Henrion <mux@FreeBSD.org> |
Change a : bzero(ptr, sizeof(DC_RXLEN * 5)); which should obviously be: bzero(ptr, DC_RXLEN * 5);
Looks like this bug may have reduced the effectiveness of the workaround for the hardware bug in t
Change a : bzero(ptr, sizeof(DC_RXLEN * 5)); which should obviously be: bzero(ptr, DC_RXLEN * 5);
Looks like this bug may have reduced the effectiveness of the workaround for the hardware bug in the PNIC chips.
MFC after: 1 week
show more ...
|
#
0934f18a |
| 01-Jun-2003 |
Maxime Henrion <mux@FreeBSD.org> |
- Style(9) fixes, most notably : o Remove register keyword o ANSIfy prototypes o Remove "return;" at the end of void functions o Remove trailing spaces o Don't align local variables with tabs an
- Style(9) fixes, most notably : o Remove register keyword o ANSIfy prototypes o Remove "return;" at the end of void functions o Remove trailing spaces o Don't align local variables with tabs and reorder them o Don't use /* FOO */ at the end of a #ifdef FOO block if it's a small block - Other non-functional changes : o 6 -> ETHER_ADDR_LEN o Don't initialize if_output; ether_ifattach() does it for us
show more ...
|
#
f956e0b3 |
| 15-May-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Only use a SIA/SYM media info block if no MII block is detected. The submitter of PR 32118 told me that this patch also fixes autoselecting for znyx 4 port cards (10baseT, 100baseTX did work already)
Only use a SIA/SYM media info block if no MII block is detected. The submitter of PR 32118 told me that this patch also fixes autoselecting for znyx 4 port cards (10baseT, 100baseTX did work already).
PR: 32118 Reviewed by: imp Approved by: rwatson (re)
show more ...
|
#
7eac366b |
| 12-May-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Add support for 3Com OfficeConnect 10/100B.
PR: 49059, 50747 Submitted by: Dax Eckenberg <daxbert@dweebsoft.com> Reviewed by: imp, jhb Approved by: jhb MFC after: 2 weeks
|
#
acc1bccc |
| 01-May-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Use only a 64bit hash filter table for ADM-Centaur cards like the Accton EN2242 and the ADMtek AN985 cards.
PR: 32699 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Reviewed by: phk MFC
Use only a 64bit hash filter table for ADM-Centaur cards like the Accton EN2242 and the ADMtek AN985 cards.
PR: 32699 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Reviewed by: phk MFC after: 2 weeks
show more ...
|
#
214073e5 |
| 21-Apr-2003 |
Warner Losh <imp@FreeBSD.org> |
Use newly minted device_is_attached rather than device_is_alive to see if attach succeeded. device_is_alive just tells us that probe succeeded. Since we were using it to do things like detach net i
Use newly minted device_is_attached rather than device_is_alive to see if attach succeeded. device_is_alive just tells us that probe succeeded. Since we were using it to do things like detach net interfaces, this caused problems when there were errors in the attach routine.
Symptoms of problem reported by: martin blapp
show more ...
|
#
97f91728 |
| 18-Apr-2003 |
MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org> |
Add support for Planex FNW-3602-T(CardBus 100M/10M).
Submitted by: kazz <kazz@v001.vaio.ne.jp> Obtained from: [bsd-nomads:16637]
|
#
693f4477 |
| 17-Apr-2003 |
Nate Lawson <njl@FreeBSD.org> |
Revise attach/detach resource cleanup - Unconditionally call *_stop() if device is in the tree. This is to prevent callouts from happening after the device is gone. Checks for bus_child_present()
Revise attach/detach resource cleanup - Unconditionally call *_stop() if device is in the tree. This is to prevent callouts from happening after the device is gone. Checks for bus_child_present() should be added in the future to keep from touching potentially non-existent hardware in *_detach(). Found by iedowse@. - Always check for and free miibus children, even if the device is not in the tree since some failure cases could have gotten here. - Call ether_ifdetach() in the irq setup failure case - ti(4), xl(4): move ifmedia_init() calls to the beginning of attach so that ifmedia_removeall() can be unconditionally called on detach. There is no way to detect whether ifmedia has been initialized without using a separate variable (as tl(4) does). - Add comments to indicate assumptions of code path
show more ...
|
#
2ea36df8 |
| 17-Apr-2003 |
Ian Dowse <iedowse@FreeBSD.org> |
Revert part of revision 1.97 by calling dc_stop() unconditionally in dc_detach() instead of only calling it if the hardware is preset. This is a workaround for page faults in softclock() after a `dc'
Revert part of revision 1.97 by calling dc_stop() unconditionally in dc_detach() instead of only calling it if the hardware is preset. This is a workaround for page faults in softclock() after a `dc' device was detached, caused by not disabling a timer before freeing its memory. The bus_child_present() checks should probably be re-added later, but only to avoid the hardware accesses and not the other resource cleanups in dc_stop().
Approved by: njl
show more ...
|
#
533294b9 |
| 16-Apr-2003 |
Matthew N. Dodd <mdodd@FreeBSD.org> |
- Don't call pci_enable_io() in drivers (unless needed for resume). - Don't test memory/port status and emit an error message; the PCI bus code will do this now.
|