summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-11-15debug printf fixes from Daan VreekenDavid Gwynne
2004-11-14KNF large chunks of tab-free code discovered while working on previousKenneth R Westerback
commit. Whitespace, line break and declaration shuffling changes only.
2004-11-14More NetBSD cruft removal, starting with 'struct ahd_pci_busdata' andKenneth R Westerback
the fallout from that. Ensure pcireg_t variables are being used with pci_conf_read/write functions - found one uint16_t variable (pcix_status) being used to store and restore (32 bit) pcireg_t values. Some KNF. No functional changes.
2004-11-14fix typo, trim extra empty linePeter Valchev
2004-11-13Let the chip settle for a bit more time between trying to output twoMiod Vallat
characters; this will prevent us from falling into timeout behaviour when it is in fact not necessary.
2004-11-13Eliminate a structure member introduced via NetBSD, now superfluous.Kenneth R Westerback
2004-11-13Eliminate more cruft that crept in during FreeBSD -> NetBSD -> OpenBSDKenneth R Westerback
travels. Simplify create_dmamem/free_dmamem api.
2004-11-12The flag to re-filter pf-generated packets was set wrong by synproxyDaniel Hartmeier
for ACKs. It should filter the ACK replayed to the server, instead of of the one to the client. Thanks to Daniel Polak for testing.
2004-11-12commented out atwMichael Shalayeff
2004-11-12#atuTheo de Raadt
2004-11-12file not usedTheo de Raadt
2004-11-12support SIOCG80211BSSID SIOCS80211CHANNEL SIOCG80211POWER; from daanTheo de Raadt
2004-11-12cleanup prototypesTheo de Raadt
2004-11-12print address, this is not a debug pieceTheo de Raadt
2004-11-11use ether_ifdetach; from daanTheo de Raadt
2004-11-11simplify debug printf mechanism, with various levels of verbosity moreTheo de Raadt
in tune with what one needs when debugging; from daan
2004-11-11strlcpyTheo de Raadt
2004-11-11TyposMiod Vallat
2004-11-11some fixes for beeing compatible with gcc3 as noticed by some people.Reyk Floeter
thanks to Joerg Sonnenberger and Nathan Binkert.
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-11Somewhat improve single-stepping.Mark Kettenis
ok pefo@, miod@
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-11say hello to XKSEG0 and XKSEG1!Per Fogelstrom
2004-11-11up default data size so things doesn't blow up to easyPer Fogelstrom
2004-11-11add support for the Atmel AT76c503a (vendor/device ids, we should alreadyDavid Gwynne
support this chip) and the Linksys WUSB11 v2.8 found by Sam Chill and Barry Dexter A. Gonzaga respectively. they both seem keen to try this driver out.
2004-11-11regenDavid Gwynne
2004-11-11change the device id of the "atmel dwl-120" (which is what dlink calls itsDavid Gwynne
product) to Atmel AT76c503a. many vendors use this product/vendor id in their product so we'll say whats inside rather than whats printed on the packaging.
2004-11-11from netbsd, if_axe.c revision 1.6David Gwynne
When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING.
2004-11-11the other half of the changes from netbsds if_axe.c revision 1.5:David Gwynne
Set full duplex mode when status tells us to.
2004-11-11half of the changes from netbsds if_axe.c revision 1.5:David Gwynne
Protect MII reads and writes properly against multiple access.
2004-11-11from netbsd, if_axereg.h revision 1.2David Gwynne
Add some media defines.
2004-11-11from netbsd, if_axe.c revision 1.5David Gwynne
Dont use lockmgr() from interrupt context.
2004-11-11from netbsd revisions 1.2 and 1.3David Gwynne
revision 1.2 Alphabetize the supported device list. revision 1.3 Get rid of an oddly placed assert().
2004-11-11make setup of the rx transfers consistentDavid Gwynne
2004-11-11Handle all types of interrupts when operating in polled mode.David Gwynne
from Danovitsch@vitsch.net
2004-11-11Check IFF_UP at tun_output().Marco Pfatschbacher
ok henning, markus.
2004-11-11list the things that atu relies onDavid Gwynne
2004-11-11no need to lock access for readingjoshua stein
2004-11-11quirk for iriver 3xx.Alexander Yurchenko
ok dlg@
2004-11-11remove test code; Danovitsch@vitsch.netTheo de Raadt
2004-11-11remove excessive splnet; Danovitsch@vitsch.netTheo de Raadt
2004-11-10allocate a single buffer for the rx xfer to use rather than let it tryDavid Gwynne
allocating one every time we're restarting it in an interrupt handler. ok deraadt@
2004-11-10Safer IF_INPUT_ENQUEUE macro.Alexander Yurchenko
ok millert@
2004-11-10add support for the Conceptronic SnapPort USB 2.0 LAN AdapterDavid Gwynne
thanks go to Paul de Weerd for providing the hardware
2004-11-10regenDavid Gwynne
2004-11-10Conceptronic SnapPort USB 2.0 LAN AdapterDavid Gwynne
2004-11-10Diff from art@:Alexander Yurchenko
Update ticks in timeout_hardclock_update to avoid errors in hardclock (this is the third time we mess up here). ticks is only used for timeouts anyway. At the same protect updating ticks with timeout_mutex and be slightly more paranoid in timeout_hardclock_update. ok tdeval@ miod@
2004-11-10Remove __cplusplus crud.Alexander Yurchenko
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@