summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-08-05Use IFQ_POLL/IFQ_DEQUEUE instead of IFQ_DEQUEUE/IF_PREPEND.Brad Smith
2006-08-05Some KNF.Marcus Glocker
2006-08-05Adjust copyright.Marcus Glocker
2006-08-05If ieee80211_encap() returns NULL the node is already free,Jonathan Gray
do not try to free it again.
2006-08-05Be sure to call if_detach() so ghosts of hardwareJonathan Gray
don't come back to haunt us.
2006-08-05nuke latest remaining firmware ioctl bits.Damien Bergamini
ok jsg@ s/le32toh/letoh32/g and remove __offsetof definition while i'm here.
2006-08-05Replace one more dragonfly quirk by ether_sprintf(). Fixes debug outputMarcus Glocker
for AP rates.
2006-08-05Replace dragonfly quirk by ether_sprintf(). Fixes debug output forMarcus Glocker
rate up / rate down.
2006-08-05Slight KNF.Marcus Glocker
2006-08-04Fix comment typo, spotted by jasper@.Marcus Glocker
2006-08-04Make driver more silent when ACX_DEBUG is off.Marcus Glocker
2006-08-04use ic->ic_myaddr instead of LLADDR(ifp->if_sadl) to build managementDamien Bergamini
frames headers, just like net80211 does. ok mglocker@
2006-08-04Use ACX100 radio 11 firmware for ACX100 radio 11.Jonathan Gray
ok mglocker@
2006-08-04Remove code that reads the MAC address via the firmwareJonathan Gray
and then does nothing with it. We already have this via the EEPROM, which seems to work fine so far. Slightly tweaked version of a diff from deraadt@
2006-08-04Load ACX111 firmware for ACX111.Jonathan Gray
ok mglocker@ claudio@
2006-08-03delete some debug code that was put in for early developmentTheo de Raadt
2006-08-03Fix DMA initialization -- it helps to set the physical address of the buffer.Claudio Jeker
Additionally fix some obvious bugs and leftovers from dragonfly that cause panics on OpenBSD. With this we are up and running on a ACX100A card. Debugged with mglocker@ via irc as I don't own an acx(4) card. OK mglocker@
2006-08-03Kill some dead code that we never need. Makes the code readable and me lessClaudio Jeker
confused. OK mglocker@
2006-08-03pretty print radio & addressTheo de Raadt
2006-08-03Fix more cvs Id tag tweaks in copyright notes.Marcus Glocker
Spotted by <gwyllion@ulyssis.org>
2006-08-03Change the firmware names as suggested on the main driver projectMarcus Glocker
homepage; http://acx100.sourceforge.net/wiki/Firmware ok deraadt@
2006-08-03Add/Fix copyright notes.Marcus Glocker
2006-08-03Change to OpenBSD cvs tag.Marcus Glocker
2006-08-03802.11a uses a 16 microseconds short interframe space.Damien Bergamini
With this change, I now have a working 802.11a ral-based AP. Fix rt2661_set_macaddr() so that we don't override the "unicast to me" flag in RT2661_MAC_CSR3 when setting the MAC address. Thanks to wim@ for donating a RT2561 a/b/g adapter.
2006-08-03always call scsi_done at splbio. issue found by pedro@David Gwynne
while here try to avoid nesting splbio calls when dealing with the runqueue.
2006-08-03always call scsi_done at splbio. issue found by pedro@David Gwynne
while here protect submission of the scsi command with splbio as well.
2006-08-03Inital import for the acx(4) driver.Marcus Glocker
ok deraadt@ jsg@
2006-07-31puc@cardbus (only added (commented out) to whom has puc@pci enabled)Michael Shalayeff
tested on puc@pci by fkr and meself on the cardbus. still needs a bit more work but generally works. deraadt@ ok and some input from miod@
2006-07-30Make [ahc|ahd]_print_register() consistant, since they are both calledKenneth R Westerback
by the same aicasm-generated code. ahc_print_register() now just tracks the return values of printf() as ahd_print_register() was doing. Eliminates a 1024 character buffer on the stack that ahc_print_register() was using to keep track of the number of characters printed.
2006-07-30Be consistant and always check for non-NULL pointer before assigning into it.Kenneth R Westerback
2006-07-29Do not redefine ALIGNED_POINTER, it comes from <machine/param.h>Miod Vallat
2006-07-28make dmesg printing look a little bit nicer.Brad Smith
2006-07-27Rework opl_find() so that it does not need to take a proto softc, shavesMiod Vallat
more than 2.5KB of stack for its callers (and even more on 64 bit arches).
2006-07-23Make smg(4) on par with the current state of wsdisplay drivers: make it useMiod Vallat
a rasops backend and wsfont, better ioctl conformance, and too many other changes to mention.
2006-07-21properly report errors thru scsi layer and not bio that will be overwritten ↵Michael Shalayeff
later by scsi no no error; tested by mesel and nate@
2006-07-18modify interrupt handlers to exit early and return 0 on shared interrupts.Damien Bergamini
pointed out by deraadt@
2006-07-16Use a global variable for the console ibm561 state, and use it when theMiod Vallat
real device attach, instead of using malloc (we can not use malloc at console initialization time). This gets rid of the following stack offense: /usr/src/sys/dev/ic/ibm561.c: In function `ibm561_cninit': /usr/src/sys/dev/ic/ibm561.c:193: warning: stack usage is 4768 bytes
2006-07-15set the tags on the scsi command according to what the midlayer says theyDavid Gwynne
should be.
2006-07-15have a go at configuring spi variants to only talk to the devices at theDavid Gwynne
lowest possible speeds during inquiry and attach. some devices, like tapes and enclosures, dont like being probed at high speeds and can attach as weird things. this seems to help those devices.
2006-07-11put CRC error message under GEM_DEBUG. this just spews out like crazyBrad Smith
on a heavily loaded hub.
2006-07-09I don't think we're talking about animals in here, soMichael Knudsen
s/wether/whether/g.
2006-07-09In ne2000_detect(), temporarily mark the dp8390 subpart as inactive, so thatMiod Vallat
we ignore interrupts; this allows unplugging a card when the probe gets stuck without panicing.
2006-07-09spacingDavid Gwynne
2006-07-09enabling interrupts doesnt deserve an XXX. i think we want to do that.David Gwynne
2006-07-09implement firmware upload. this frees up memory on some controllers so theyDavid Gwynne
can do more io at a time. tested on the onboard controllers of a dell 2850 (which can do it) and a pci controller on my home box (which doesnt). this was the last feature mpt had that mpi was behind on.
2006-07-09missed a bit of the fw upload stuffDavid Gwynne
2006-07-06get rid of the unused sgl types (and the XXX on the one we actually doDavid Gwynne
use). add the fw upload messages and its context element.
2006-07-06fix debugging stuffDavid Gwynne
2006-07-06after walking the attached devices and running ppr against them, then fetchDavid Gwynne
the ioc page 3 for a list of all the physical disks behind any configured volumes and run ppr against them too. raid volumes on scsi mpi is fast now.
2006-07-06do not stash pages 2 and 3 (the volume and physdisk pages respectively)David Gwynne
of the ioc config in the softc. instead, we only walk page 2 when we get the raid config and mark each disks scsi_link structure with the SDEV_LOGICAL flag when we find volumes. while there we mark this instance of the driver as being capable of doing raid so later on we can conditionally hook up bio. when we walk the devices attached to mpi to do ppr, we now skip the logical disks.