summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-03-15split the code in ami_cmd that does the polling commands out into aDavid Gwynne
function of its own. switch callers of ami_cmd that want polled commands over to using ami_poll.
2006-03-15sc->sc_dev.dv_xname converted to DEVNAME(sc). makes things a little easierDavid Gwynne
for me to read.
2006-03-14move the loading of the dmamaps for passthrough commands out of ami_cmdDavid Gwynne
and into a function of its own called ami_load_ptmem. sleep now, more cleanup later.
2006-03-14move the loading of the dma maps for logical disk reads and writes fromDavid Gwynne
ami_cmd up into ami_scsi_cmd. this simplifies ami_cmd somewhat and moves more stuff out from under splbio. theres more to come.
2006-03-14knfDavid Gwynne
2006-03-14shuffle the switch statement around in scsi_cmd. do the io commandsDavid Gwynne
outside the switch so i have some more room to put ugly code in there.
2006-03-13make the dmseg printing look a little nicer.Brad Smith
ok dlg@
2006-03-13repair commands w/ no scsi_xfer but the affected code was currently dead ↵Michael Shalayeff
anyway; pointed out by Tonnerre LOMBARD <tonnerre@thebsh.sygroup.ch>
2006-03-13finner grained use of splbio in scsi_raw_cmd.David Gwynne
2006-03-13finer use of splbio in scsi_cmd.David Gwynne
2006-03-13split the io and synchronise paths for scsi commands going to the logicalDavid Gwynne
disks.
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-03-04remove extraneous brackets.Brad Smith
From Mike Pechkin <mpech at mail dot ru>
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-03-04All CAM_* values stored in xs->error must be 'interpreted' byKenneth R Westerback
ah[cd]_done() into XS_* values understood by the SCSI code before returning xs to the tender mercies of the SCSI code. So if we bail out without calling ah[cd]_done(), because the request cdb length is excessive, don't use ah[cd]_set_transaction() to put CAM_REQ_INVALID into xs->error, just jam in XS_DRIVER_STUFFUP as ah[cd]_done() would have. If CAM_REQ_INVALID escapes it will be interpreted as XS_SHORT_SENSE as far as I can tell. This code path should never be trod so the net effect should be minimal.
2006-03-04remove the colon between "address" and the MAC address.Brad Smith
2006-03-04some defines for PHY detection.Brad Smith
From FreeBSD
2006-03-04do not set the chip type in re_attach_common() as this is alreadyBrad Smith
set in the appropriate bus-dependent front-end attach routines.
2006-03-04remove vlan header.Brad Smith
2006-02-28Switch to software WEP in a way mostly similiar to what David YoungJonathan Gray
did in NetBSD. Fixes WEP on aanriot@'s ADM8211A. ok deraadt@
2006-02-25comment code that is currently unused (radar detection and dynamic rxDamien Bergamini
sensitivity tuning). fix a typo while i'm here.
2006-02-25instead of panicing when tx rate is zero, fallback to 1Mbps.Damien Bergamini
this is a temporary workaround since we should really not see any node with an empty rate set but it seems to happen in hostap mode.
2006-02-25load the firmware only when necessary (first call to rt2661_init or if theDamien Bergamini
cardbus socket has been powered off). restore the call to rt2661_init() in the watchdog since the firmware is not reloaded in this case. fixes "timeout waiting for BBP" errors seen on some PCI adapters.
2006-02-24Make the "ring buffer overrun" message a DEBUG message insteadBrad Smith
of a DIAGNOSTIC message for now, this should be looked at after release.
2006-02-24remove NetBSD rnd(4) code.Brad Smith
2006-02-21remove some commented out and NetBSD-specific code.Brad Smith
2006-02-21add missing MTU ioctl switch case.Brad Smith
Noticed by: Ben Lovett <ben at tilderoot dot com>
2006-02-20Fix kernel builds without bpfilter. Linking is still broken.Damien Bergamini
"Please commit this diff ASAP" brad@
2006-02-20Be sure to call shutdownhook_disestablish() as this is a removeable device.Jonathan Gray
ok mickey@
2006-02-18don't try to release references to nodes that have been freed by net80211.Damien Bergamini
in HostAP mode, when switching to the INIT state, net80211 sends a DISASSOC and a DEAUTH frame to all associated stations and immediately free all the nodes while we may still hold references to them in our Tx queues. hopefully, this should fix PRs 4469/kernel and 4953/kernel.
2006-02-17Missed part of last atw commit.Jonathan Gray
2006-02-17Use ieee80211_compute_duration() instead of homerolled function.Jonathan Gray
From a change to NetBSD by David Young. Tested by aanriot@ on ADM8211A and me on ADM8211B.
2006-02-15don't re-init the interface on watchdog timeout. we need to reload theDamien Bergamini
firmware which can't be done outside of a process context. instead, just turn the interface down (rt2661_stop) for now.
2006-02-11Move a bit more under MPT_DEBUG.Kenneth R Westerback
ok marco@
2006-02-10Fix LBA48 access for ServerWorks SATA.Mark Kettenis
ok grange@
2006-02-08eliminate a reset when configuring the IP address.Brad Smith
tested by kettenis@
2006-02-06typos from alexey dobriyan;Jason McIntyre
ok mickey marco mbalmer niklas brad
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-02-05Add a fix from David Young to not set the ring indexes to somethingJonathan Gray
obviously invalid, which can occur when ejecting a CardBus rtw.
2006-02-05Rework code a bit more and move mpt_print_header() completely underKenneth R Westerback
MPT_DEBUG. May shave a few more bytes, makes logic a bit clearer. No functional change. ok marco@
2006-02-05and the softc addition too.Brad Smith
2006-02-05call gem_setladrf() if the NIC is already running and only theBrad Smith
PROMISC or ALLMULTI flags are being adjusted or if adjusting the multicast addresses instead of doing a full re-init of the chip. ok kettenis@
2006-02-04Redo debugging mechanism to something less loud and more useful.Marco Peereboom
Shaves 22k of the kernel. ok krw
2006-02-02make an exposed printf for debugging a debug printf and add a few commasBrad Smith
in the dmesg printing to make the dmesg entry look a little nicer. ok mickey@
2006-02-01dont clutter up dmesg with useless or redundant informationDavid Gwynne
prodded by deraadt@
2006-02-01a driver for the phillips pcf8584 i2c controller as found on the sun netraDavid Gwynne
t1 105. tested by henning@ djm@ ok kettenis@ put it in deraadt@
2006-01-30Add basic radiotap support. Modelled somewhat afterJonathan Gray
ral and NetBSD wi radiotap. "looks ok" damien@
2006-01-30only flush the TX descriptors in re_start() if there are packetsBrad Smith
to be transmitted. tested by jsg@
2006-01-29Don't ask bus_dmamem_alloc() for zero bytes. 'bioctl -H x:y amiz' noKenneth R Westerback
longer triggers a panic. ok marco@ dlg@.
2006-01-28Consider temperatures below -45 degC to be invalid for Winbond chips.Mark Kettenis