summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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-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-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-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-11list the things that atu relies onDavid Gwynne
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-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-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-09fix the url pointing to the original atuwi driver. pointed out by DriesDavid Gwynne
Schellekens.
2004-11-09remove useless bpf code. removes dependancy on code from an(4).David Gwynne
2004-11-09Always free memory on failure in c{e,s}4231_alloc(); from Patrick Lafiti.Miod Vallat
2004-11-08let it actually compileTheo de Raadt
2004-11-08Atmel AT76c503 / AT76c503a / AT76c505 / AT76c505a USB WLAN driverDavid Gwynne
originally the atuwi driver from Daan Vreeken, but with enough changes by deraadt@ and me to warrant a name change. there are still plenty of issues to resolve, but at least i can get packets over it now. ok deraadt@
2004-11-08ugly ugly hack to allow a usb device to do a full reset of the port duringDavid Gwynne
attach. this is required by atu (atmel based usb wireless) devices. something better will be done, but we need it for now to work on atu. ok deraadt@
2004-11-08put more debug stuff inside #ifdef, to make the driver a wee bit smallerTheo de Raadt
for the alpha
2004-11-08use __packed instead of __attribute__ ((__packed__)) (ok miod@), checkReyk Floeter
possible NULL mac in the keycache function.
2004-11-07add a new message: inject. this allows the tracer to to inject buffers intomarius eriksen
the stackgap. this in turn allows for argument replacement with indirection. for example replacing an entire envp or struct pollfd. ok provos@ millert@
2004-11-07struct ucode.length should be in number of elements (u_int32_t), notDaniel Hartmeier
number of bytes. reported by Pyun YongHyeon, patch from mickey@, ok deraadt@
2004-11-06sync pci idsReyk Floeter
2004-11-06regenReyk Floeter
2004-11-06added new ar5212 device idsReyk Floeter
2004-11-05Better granularity between wsmouse support and wsmoused support, as oneMiod Vallat
could use wsmoused with a serial mouse; wsmoused support will now be compiled regardless of wsmouse attachments, unless option SMALL_KERNEL. Thanks to mickey@ for pointing out my mistake.
2004-11-04Only compile the mouse pasting code if wsmouse is configured in the kernel;Miod Vallat
shaves a few dozens of KB on installation media.
2004-11-04fix memory leak on deleting a screen; from janjaap@stack.nl via pr3977Michael Shalayeff
2004-11-03register typoReyk Floeter
2004-11-03oops missed to set devtype here rather than in sti_sgc.c:1.23Michael Shalayeff
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@