summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-12-18Read word-mode rom regions with bus_space_read_raw_region instead ofMiod Vallat
bus_space_region, for they might lie on a bus with a different endianness than the cpu. ok mickey@
2006-12-18Change sti attachment to pass an array of base addresses for the sti regions,Miod Vallat
instead of using the rom mapping for region #0 and the device mapping for region #1. This will allow sti devices on which regions may be relative to different origins to attach (to be used very soon). ok mickey@
2006-12-18- struct scsibus_attach_args;Marco Pfatschbacher
+ struct scsibus_attach_args saa; OK miod@.
2006-12-17Kill some more macros. This time ACX_NOARG_FUNC and ACX_INIT_TMPLT_FUNCClaudio Jeker
bite the dust and make the code easier to read. Help and OK mglocker@
2006-12-17fix index of ERP information element in beacons.Damien Bergamini
still ugly, but correct.
2006-12-16Better sti_mapchar() implementation, matches Latin char indexes to HP RomanMiod Vallat
font indicies whenever possible.
2006-12-15fix every architecture being treated as strictly aligned in sf_rxintr() byMartin Reindl
only checking for __STRICT_ALIGNMENT; tested on i386 and alpha
2006-12-14fix a minor bug in the tx data queue setup by using the right queueReyk Floeter
type. this would cause us some more trouble with WME which isn't supported yet... thanks to Nick Kossifidis
2006-12-13Remove the dma_eop callback in the ncr5380 driver md attachment, it was alwaysMiod Vallat
doing nothing and the mi code does not use it anymore anyway. No functional change.
2006-12-13Obsolete and became wrong over the time, better remove.Miod Vallat
2006-12-13insufficient testing, martin, please do not be a moronTheo de Raadt
2006-12-13First part of fixing broken beacon frames in acx(4) AP mode based on aMarcus Glocker
diff from Sepherosa Ziehau (DragonFly); The firmware TIM element template was initialized wrong. Though, our ieee80211_alloc_beacon() routine calculates it's own TIM element, which now results in having two TIMs in an acx(4) beacon. Would it be an idea to introduce a ieee80211_alloc_beacon() flag to turn the TIM element off? Because fiddling out the TIM element in the driver for cases in which the firmware calculates its own TIM is a bit ugly ... ok claudio@
2006-12-13eliminate unnecessary interface resets in fxp_ioctl()Martin Reindl
2006-12-12add a workaround for hardware ip4csum-tx bug on re(4) chips. theReyk Floeter
hardware checksum could be mangled with 28 byte or less IP packets. >From tsutsui@NetBSD Tested by otto@ brad@ and Han Boetes <han at mijncomputer dot nl> Tested by maja@ with the 8139C+ chipset Tested on amd64/i386/sparc64 ok mglocker@ brad@ otto@
2006-12-12Make malo(4) work on macppc by adding a few letoh32(), removing some htole32()Claudio Jeker
-- bus_space(9) does the endian switch for us -- and finaly change one letoh32() to letoh16(). The last one being by far the nastiest one. OK mglocker@
2006-12-10Add missing argument to a DPRINTF call.Claudio Jeker
2006-12-10Do not attempt to access scsi_xfer fields after scsi_done() has been invoked.Miod Vallat
2006-12-08First round of evil macro removal. _acx_set_##name##_tmplt bites the dust.Claudio Jeker
OK mglocker@
2006-12-08From Jon Simola <simola@mecha.com>:Marcus Glocker
Style and whitespace cleanup.
2006-12-08If we receive a rate of 0 from the AMRR rate adaption code, set theMarcus Glocker
TX rate to a minimum value of 1Mbit/s instead of doing a panic(). We don't know yet how the rate of 0 is produced in some conditions. ok claudio@
2006-12-07Fix some channel tweaks; e.g. solves a bug which sets the channel to 40Marcus Glocker
when switching into hostap mode. ok claudio@
2006-12-07remove unused code, fix style and spacing, tidy up ioctl pathMartin Reindl
from brad@
2006-12-06replace Adaptec AIC-6915 Starfire driver with the fully bus_dma(9)-ableMartin Reindl
driver from NetBSD ok brad@ reyk@ additional testing Nick Nauwelaerts
2006-12-06From Jon Simola <simola@mecha.com>:Marcus Glocker
Add bus-specific config space read and write functions, this fixes the attach for ian@darwinsys.com and properly enumerates multiple cores.
2006-12-03fix handling of the SIOCS80211CHANNEL ioctl in monitor mode:Damien Bergamini
don't call xxx_set_chan() if the interface is not up&running. patch from Steffen Schuetz (st dot sch at gmx dot net) with minor modifications by me. closes kernel/5313
2006-12-03First bits of endian cleanup more still needed but commit early, commit often.Claudio Jeker
OK mglocker@
2006-12-03Print the number of unknown commands in malo_cmd_string(). Also don'tClaudio Jeker
print an empty newline in malo_hexdump(). OK mglocker@
2006-12-02In alloc_attr(), make sure xxansitopc[] indicies are within bounds.Miod Vallat
2006-12-01rename 8100E id to spin 1 and add the 8100E second spin chip idTodd T. Fries
chip id from Linux r8169 driver from brad@
2006-11-30fix wep key index in firmware command.Damien Bergamini
ok mglocker@
2006-11-30Yay, forgot to add IEEE80211_C_SHPREAMBLE and IEEE80211_C_SHSLOTMarcus Glocker
capapility. Spotted by damien@
2006-11-29Enable short slots, which should increase / stableize throughputMarcus Glocker
performance a bit. ok claudio@
2006-11-29From Jon Simola <simola@mecha.com>:Marcus Glocker
New bcw_powercontrol_crystal_on() function, and fix the license for the pci wrapper.
2006-11-29Change the getchar wsdisplay_accessops function to not return aMiod Vallat
display-dependent value, but instead fill a structure with the chaarcter and a valid attribute, suitable for use with unpack_attr. Adapt the wsmoused code to these changes, and remove all knowledge of the text-mode style pc video attributes in it. This will eventually allow wsmoused to be used on non-pcdisplay devices.
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
2006-11-29Enable monitor mode.Marcus Glocker
ok claudio@
2006-11-29Use uvm_km_alloc() instead of uvm_km_alloc1(), so that the latter canMiod Vallat
change within uvm without breaking code. From art@
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-29Unbreak. No cookie for dlg.Alexander Yurchenko
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-11-28identify the chipset.Brad Smith
2006-11-28move printing of the interrupt string into re_attach().Brad Smith
2006-11-28unhandled ioctls return ENOTTY, not 0David Gwynne
2006-11-28remove dead codeDavid Gwynne
2006-11-28Instead debug message for WEP key setting, just complain if WEP keyMarcus Glocker
setting fails. Always return with error in malo_init() if someting fails. ok claudio@
2006-11-27Enable WEP.Marcus Glocker
Tested by jsg@
2006-11-26Replace the firmware reset command by a register write which alsoMarcus Glocker
causes a device reset. This enables resetting also on amd64, and therefore reinitializing after the 'up' 'down' dance works now there. ok claudio@
2006-11-26avoid extra inclusions; ok jsgTheo de Raadt
2006-11-26Make use of ieee80211_std_ratesetJonathan Gray
2006-11-26It's sizeof(struct ieee80211_frame) not sizeof(struct ieee80211_frame *).Marcus Glocker
Spotted by damien@