summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2005-09-26Share com probe code between com and pccom; allows us to get rid of awkwardMiod Vallat
code duplication in cardbus, pcmcia and puc attachments. Joint effort with fgs@; blessed deraadt@
2005-09-26allocate and map the mbox separately to the iocmds used by the ccbs.David Gwynne
2005-09-25Change 21040 modes slightly.Brad Smith
From matt NetBSD
2005-09-25Remove some duplicate definitions.Brad Smith
From mycroft NetBSD
2005-09-251.83 again:David Gwynne
fix ami_drv_inq so it uses ami_cmd's ability to use an arbitrary kernel buffer for passthrough io rather than setting its own up.
2005-09-251.82 again; dont use the scsi xfer to decide if we should dma_sync.David Gwynne
instead use generic variables in the ccb so commands not originating from the scsi layer can be handled by ami_done as well. this version does not freeze like 1.82. the secret seems to be to go ami_put_ccb before scsi_done.
2005-09-24The ADM8211B seems to stall after some time of constantJonathan Gray
activity at DS11 speeds. Check for this in the watchdog using seemingly undocumented bits of the TEST1 register used in Linux driver and restart if a stall is detected.
2005-09-24Make use of ieee80211_ibss_merge() from net80211.Jonathan Gray
Based on changes made by David Young to NetBSD.
2005-09-24Remove a bunch of redundant defines that are also in net80211.Jonathan Gray
From a change by David Young to NetBSD.
2005-09-23Handle SI4126 operations differently on ADM8211B. ThisJonathan Gray
is the final piece required to make ADM8211B based devices work. Based around what the Linux driver does. ok reyk@
2005-09-23cleanup and simplify the regulation domain handling. some devices areReyk Floeter
known to have a broken/unsupported regulation domain stored in their EEPROM, we use the default instead (Canada). there's no need to manually define COUNTRYCODE in ar5xxx.c anymore for invalid EEPROMs but it's still possible to force a specific country - your choice. ok aanriot@
2005-09-23change the fallback regulation domain to FCC2A (Canada) instead ofReyk Floeter
FCC1A (US) which makes more sense to us. discussed with aanriot@
2005-09-22remove the very basic ath(4) rate control implementation and useReyk Floeter
rssadapt(9) instead. this may need some further work but now it's in the right place and shared with other drivers (like ral(4)). yes jsg@
2005-09-22revert 1.82 and 1.83 of ami.c and 1.26 of amivar.h since it seems to beDavid Gwynne
causing random lockups on my machine. sigh.
2005-09-22Print MAC name and version and use "address" instead ofJonathan Gray
"802.11 address" when printing MAC address.
2005-09-21fix ami_drv_inq so it uses ami_cmd's ability to use an arbitrary kernelDavid Gwynne
buffer for passthrough io rather than setting its own up.
2005-09-21dont use the scsi xfer in ami_done to figure out if we have to sync aDavid Gwynne
buffer or not. this will allow us to issue arbitrary passthrough commands without needing them to come in via ami_scsi_raw_cmd. useful for management functionality...
2005-09-21remove the bits in the ccb that were needed to support scsi commands onDavid Gwynne
the passthrough bus when bounce buffers were used.
2005-09-21rename nsg to nsge in struct ami_passthrough to be consistent with theDavid Gwynne
naming elsewhere in this driver. suggested by marco@
2005-09-21use the ccbs passthrough command in the raw scsi path rather thanDavid Gwynne
allocating it and a bounce buffer for each scsi io. gets rid of the alloc sleeps and frees and simplifies things greatly.
2005-09-21allocate space in each ccb to store a passthrough commandDavid Gwynne
2005-09-19don't attach unsupported radio chipsetsReyk Floeter
based on a diff by jsg@
2005-09-19dont use htole32 to set up values to be assigned to an 8 bit field.David Gwynne
2005-09-19replace the pointer mess used to handle wakeups on ccbs with a real flagDavid Gwynne
tested and ok krw@
2005-09-19Typo 'taget' -> 'target'.Kenneth R Westerback
ok dlg@
2005-09-18ansi. No binary change.Jonathan Gray
2005-09-18speelingDavid Gwynne
2005-09-17add some Realtek chip idsBrad Smith
2005-09-15Don't fake MODE SENSE page 4 info inside raid drivers, just let sdKenneth R Westerback
fake a geometry. Page 4 info does not get used for size information. Eliminate now unused union scsi_disk_pages. ok marco@ mickey@ pre-lock.
2005-09-15Move two tiny sa2400 init functions back into calling sa2400 init function.Jonathan Gray
2005-09-15Remove rtw_rfbus_write abstraction for readability.Jonathan Gray
2005-09-14As the _create functions for all the rf transceivers now just set someJonathan Gray
default values, remove them and do value setting in rtw_rf_attach.
2005-09-14Remove rtw_rf/rtw_rfbus and some other related abstractionsJonathan Gray
which made things overly complicated.
2005-09-10copy the MAC address from sc_arpcom.ac_enaddr to sc_enaddr inBrad Smith
gem_init() just before calling gem_init_regs() so the proper MAC address gets programmed into the card (if it has been changed by say ifconfig lladdr for example). Noticed and diff tested by: Troex Nevelin <troex at fury dot scancode dot ru>
2005-09-10Prettier diagnostic message; ok deraadt@.Alexander Yurchenko
2005-09-10ansi, no binary change.Jonathan Gray
ok reyk@
2005-09-08use ieee80211_iterate_nodes to iterate the nodes and add a extra checkReyk Floeter
for the maximal number of gpio pins.
2005-09-08fix a possible division by zero by using minimal default values for theReyk Floeter
beacon interval and the beacon miss timeout (beacon interval * 7).
2005-09-08Remove the last of the FreeBSD compatiblity goop.Jonathan Gray
ok reyk@
2005-09-08Remove FreeBSD if_printf compat function from net80211.Jonathan Gray
ok reyk@
2005-09-07sync on shutdownMichael Shalayeff
2005-09-06Step three: remove now unused advmcode*.Kenneth R Westerback
Requested by deraadt@ a while ago.
2005-09-06Step two: use advmcode* in their new location.Kenneth R Westerback
Requested by deraadt@ a while ago.
2005-08-31Remove check that prevents disks that are not in the unused state to move toMarco Peereboom
hot spare state. This *should* be detected in f/w however there is one known case where it does not work and hence this workaround was committed. By having this in there disks that were removed and reinserted that used to be hotspares show up as unused however the meta data on disk conflicts with this preventing it to be moved to hotspare. OK, commit this, deraadt@
2005-08-31Fix some tsleep magic. Code done by krw@Marco Peereboom
feel free to commit, krw@ ok deraadt@
2005-08-31Make ioctls stop polling for completion. This enhances the responsivenessMarco Peereboom
of the system. tested and ok krw@, dlg@, deraadt@
2005-08-30unfortunately large fixes to memleaks caused by abuse of incompleteDavid Gwynne
allocmem and freemem functions. freemem now unmaps dma memory from the kernel address space instead of leaking it. lots of tweaks and input from marco (who also found the bug in the first place). lots of testing by krw and marco. ok krw@ marco@ permitted by deraadt@
2005-08-27Extend basic rate set in 802.11g so that ACKs can be sent at 5.5 or 11Mbps.Damien Bergamini
Fix IFS parameters settings (account for Rx/Tx turnaround time). Fix WME settings (Best Effort). ok deraadt@ reyk@ henning@ tested by many
2005-08-27Define some ATA security feature set commands.Jonathan Gray
ok grange@ deraadt@
2005-08-27move some debug messages to use the debug macros so they dont appearAnil Madhavapeddy
during normal operation. deraadt@ ok