summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2004-11-11- Fix Yukon ram sizing.Brad Smith
- Keep tx queue running by kicking the tx bmu repeatedly. - Handle if_timer a bit better. From NetBSD ok deraadt@
2004-11-11rev 1.71Brad Smith
Add some special case code to fix a problem with the BCM5704 in TBI (fiber) mode. The 5704 apparently has some s00p3r s33kr1t registers for setting the advertisement of pause frame ability (i.e flow control) when in autoneg mode. If we don't set these registers correctly, we may not be able to negotiate a proper link with some switches. (Symptom is that the NIC reports the link as up (PCS synched) but no traffic can be exchanged.) rev 1.73 Commit patch to supress spurious link change events. Apparently, with copper NICs, a link change event is posted whenever MII autopolling is toggled off and on, which happens whenever someone calls bge_miibus_readreg() or bge_miibus_writereg() to access the PHY registers. This means anytime someone called the SIOCGIFMEDIA ioctl on a bge interface, the link would reset. Even a simple "ifconfig bge0" would do it, though other apps like dhclient or the PPPoE daemon could trigger it as well. An obvious symptom of this problem is lots of "bgeX: gigabit link up" messages appearing on the console for no apparent reason. Through experimentation, I determined that when a real link change event occurs, the BGE_MIMODE_AUTOPOLL in the BGE_MI_MODE register is always set, so now if we have a copper NIC and an link change event occurs and the BGE_MIMODE_AUTOPOLL bit is clear, we ignore the event. Note that this does not apply to the original BCM5700 chip since we use a different method for sensing link changes with that chip (the status block method was broken), nor to fiber optic NICs since they don't use the GMII PHY access registers. From FreeBSD ok deraadt@
2004-11-10- replace stge_lookup() with pci_matchbyid()Alexander Yurchenko
- remove useless product description strings - don't print pci product revision, pci bus does it for us - print interrupt and address string like other drivers do ok brad@
2004-11-10strncpy->strlcpyAlexander Yurchenko
ok henning@
2004-11-08put more debug stuff inside #ifdef, to make the driver a wee bit smallerTheo de Raadt
for the alpha
2004-11-06regenReyk Floeter
2004-11-06added new ar5212 device idsReyk Floeter
2004-11-03Call ipw_stop() at the beginning of ipw_init(): this fixes a memory leakDamien Bergamini
when ipw_init() is called on ENETRESET. Call ipw_stop() when the radio transmitter is turned off. ok claudio@
2004-11-03Return 1 instead of 0 in ipw_intr() if the interrupt is handled by us.Damien Bergamini
Ignore invalid 0xffffffff interrupts. ok claudio@
2004-11-03IFM_IEEE80211_ADHOC -> IFM_IEEE80211_IBSS in ipw_media_status().Damien Bergamini
ok claudio@ aaron@
2004-11-03Calling ipwcontrol -k without downloading the firmware first lead to aDamien Bergamini
panic. Fix the ipw_free_firmware() function itself instead of fixing the callers. ok claudio@
2004-11-03Fix calls to bus_dmamap_create().Damien Bergamini
2004-11-02#ifdef __alpha__ -> #ifdef __LP64__Miod Vallat
2004-11-02factor out the dma memory allocation, mapping, freeing and unmappingmarius eriksen
functionality and call them only on attach and detach. these were being called in interrupt context and were causing a panic on device timeout. ok damien@
2004-11-02no CardBus here.Brad Smith
2004-11-02imported Sam Leffler's ath driver for atheros multimode wireless nicsReyk Floeter
from NetBSD and FreeBSD. ok deraadt@
2004-10-31rev 1.68Brad Smith
Add support for BCM5705K rev 1.74 Add support for the BCM5750/5751. Unfortunately the documentation I have from Broadcom does not give much information on these devices, so the Broadcom Linux driver was used for clues to what these chips support. It turns out they are similar to the 5705 with the 5751 being the PCI-Express version and needing special work-arounds and settings. From FreeBSD
2004-10-30vaddr_t casts for vtophys, works on amd64, enabled in GENERICCan Erkin Acar
patch submitted and tested by Steffen Schütz, schuetz.steffen at melle de ok tedu@
2004-10-30syncTheo de Raadt
2004-10-30more; reykTheo de Raadt
2004-10-30syncTheo de Raadt
2004-10-30wrong model; reykTheo de Raadt
2004-10-30syncTheo de Raadt
2004-10-30more devsTheo de Raadt
2004-10-29another re device from FreeBSDJonathan Gray
2004-10-29regenJonathan Gray
2004-10-29another re device from FreeBSDJonathan Gray
2004-10-29use rx list size instead of tx (for rx list), they are the samePeter Valchev
so this worked; ok mcbride
2004-10-28syncPeter Valchev
2004-10-28VIA VT612xPeter Valchev
2004-10-28the URL in if_iwi is no longer valid.Brad Smith
ok damien@
2004-10-28print our ether address when attaching like other driversjoshua stein
same code as for ipw
2004-10-28print our ether address when attaching like other driversjoshua stein
ok damien@
2004-10-27Remove static for all non-inline functions.Damien Bergamini
2004-10-27Minor consistency tweaks (imported from iwi).Damien Bergamini
Wait longer for microcode initialization to complete.
2004-10-27Check that we are associated before sending anything. Call ipw_stop()Damien Bergamini
from ipw_watchdog().
2004-10-27Handle fatal errors from firmware (imported from iwi).Damien Bergamini
2004-10-27Read MAC address from EEPROM in ipw_attach(). The address is now knownDamien Bergamini
before the firmware has been sent. Imported from iwi.
2004-10-27Cache firmware into kernel memory instead of sending it directly. TheDamien Bergamini
firmware is now sent only when the interface is turned up. This paves the way for proper suspend/resume support.
2004-10-27Change firmware initialization sequence to be more consistent with iwi.Damien Bergamini
Remove ipw_zero_mem_4() and add ipw_stop_master().
2004-10-27Add ipw_media_status() to report the current Tx rate properly.Damien Bergamini
This was imported from iwi.
2004-10-27Configure the adapter properly to avoid Tx retries from interfering withDamien Bergamini
CPU C3 state (imported from iwi).
2004-10-27Add authmode support (imported from iwi).Damien Bergamini
2004-10-27Import ipw_get_table() and ipw_get_radio() functions from iwi.Damien Bergamini
2004-10-27Remove unuseful initialization of ic->ic_bss->ni_chan in ipw_init().Damien Bergamini
2004-10-27Change the way supported rates set is initialized (to be consistent withDamien Bergamini
iwi).
2004-10-27Reduce timeout from two seconds to one second for command ack and from fiveDamien Bergamini
seconds to one second for firmware notification.
2004-10-27Remove static for all non-inline functions.Damien Bergamini
2004-10-27Mostly cosmetic changes to be consistent with iwi:Damien Bergamini
- update web url - sed s/ *$// - get if_ipwreg.h and if_ipwvar.h from dev/pci - remove unused function MEM_READ_2() - inline -> __inline - 11.b -> .11b - addition of comments - sort registers by their addresses
2004-10-26fix incorrect function argument in code we don't use yet (for consistency)Peter Valchev