summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2007-08-09size_t != int: use %lu in format strings and cast variables toRay Lai
u_long. OK millert and kettenis.
2007-08-07Correct value for power state D1.Jonathan Gray
While this duplicates the values specified in the PCI headers and is currently unused, correcting this arguably makes more sense than breaking diffability with FreeBSD. Invalid value pointed out by Maxim Bourmistrov <maxim@unixconn.com> API change discussed with deraadt@
2007-08-06Fix some "that that"s.Tom Cosgrove
ok miod@ jmc@
2007-08-05Don't use ieee80211_beacon_alloc() in acx_set_probe_resp_tmplt() useClaudio Jeker
ieee80211_get_probe_resp() and code from ieee80211_mgmt_output() to build a proper probe response. Found the hard way -- buffer overflow because of oversized beacons -- by mglocker@ and myself. OK mglocker@ damien@
2007-08-05Kill one more useless macro. Found while looking for something totalyClaudio Jeker
different. OK mglocker@
2007-08-05Add support for the (non-pci) NCR 53c720/770 in big-endian mode.Mark Kettenis
ok martin@, krw@, deraadt@
2007-08-04Since ahc_controller_info()'s definition is inside #ifndef DEBUG, putKenneth R Westerback
it's declaration and only use inside #ifndef DEBUG too. Lets DEBUG kernel compile again. Non-DEBUG kernel still compiles too.
2007-07-27Add ids for two Conexant codecs; not sure they're officialIan Darwin
("does not exist outside of mentions in linux/netbsd on the web"), gleaned from http://www.ussg.iu.edu/hypermail/linux/kernel/0504.0/1146.html. "sure" deraadt@, ok with above comment jsg@
2007-07-18unbreak build.Damien Bergamini
pointed out by mglocker@
2007-07-18convert code under #if 0 to the new ieee80211_key structure.Damien Bergamini
2007-07-18replace the ieee80211_wepkey structure with a more generic ieee80211_keyDamien Bergamini
one that can be used with other ciphers than WEP.
2007-07-16The logic determining the value of rl_eewidth for the 9346 and 9356Todd C. Miller
eeproms was backwards. This resulted in a bogus MAC address being read from the eeprom on certain cards. From FreeBSD. OK pvalchev@
2007-07-15Delay switching to the real serial console until we attach the serial device.Mark Kettenis
The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. ok miod@
2007-07-09don't always spew massive debug messages just because AUDIO_DEBUG isJacob Meuser
defined.
2007-07-08ansify/de-registerJasper Lievisse Adriaanse
ok krw@
2007-07-04bye byeHenning Brauer
2007-06-26Implement bit swap for a byte in O(log(N)) rather than O(N), promptedTom Cosgrove
by an interview question I was asked. ok reyk@
2007-06-25support early W83627EHF-A; tested by Sam Fourman Jr; discussed with Gong ↵Constantine A. Murenin
Jun; ok kettenis@
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@
2007-06-22ansify/de-registerJasper Lievisse Adriaanse
no binary change
2007-06-20Better recovery when osiop goes nuts and spitsMiod Vallat
osiop0: osiop_select while connected? in loops. Before returning from the interrupt handler, whack the chip. Unfortunately, this causes the few i/o which were queued to time out, but this is better than spinning and eventually panicing.
2007-06-17We can not consider the first sti region as always mapped, since on pciMiod Vallat
cards it is no longer the rom image. This lets sti@pci work on non-dino bridges. Found by and ok kettenis@
2007-06-17Make sure to pass valid extended initialization structure pointers inMiod Vallat
sti_init(), for recent sti proms require them. Also, return a meaningful error value. ok kettenis@ mickey@
2007-06-16constifyDamien Bergamini
2007-06-12add M_CANFAIL to malloc() flags, requested byThordur I. Bjornsson
marco after I showed him a diff to remove the malloc retun values since they are all called with M_WAITOK. ok marco@
2007-06-07move ieee80211_compute_duration() and ieee80211_compute_duration1()Damien Bergamini
functions into the two drivers that use them (atw and rtw.) this code is not generic enough to be used by other drivers and there is no chance that it will ever be used in newer driver since it supports 802.11b only. plus, it hurts my eyes each time i look into ieee80211_output.c. "fine with me as long as the logic doesn't change in the functions" jsg@
2007-06-06add another revision "RTL8168 3"; from NetBSD via BradPeter Valchev
2007-06-06the copyright holder changed the license from "dual bsd/gpl" to beReyk Floeter
2-clause bsd-only. good.
2007-06-06- Recognize the 8110SCe 8169 revision in re(4)Peter Valchev
- Rename the existing 8110SC revision to 8110SCd to be consistent info from the linux driver via Brad
2007-06-06do not include ipx headers (were not needed in the first place)Henning Brauer
2007-05-31erroneously EINVAL is always reported where the functionDavid Gwynne
actually produces the real errno for the problem. currently for kernel memory allocation failures bioctl would return EINVAL that makes no sense. another diff from mickey
2007-05-31if poking the controller fails for whatever reason the drives'David Gwynne
sensor status will still be marked as ok (or etc..) thus erroneously reporting value as valid. this nice diff was from mickey
2007-05-31remove the scsi task thread, and replace it with the system workq.David Gwynne
"just :wq and do it" tedu@
2007-05-29sprinkle some SMALL_KERNEL to permit bio/softraid to run on boot mediaTodd T. Fries
ok marco@ then suggested deraadt@
2007-05-29It helps to commit removals from the tree that has the files cvs removedClaudio Jeker
instead of one where they where just empty. Figured out by art@
2007-05-29Make stimeout a debug print. It has no value for users to see it.Marco Peereboom
prompted by deraadt ok dlg
2007-05-29Move tokenring support to the attic where it can join the cards that whereClaudio Jeker
decomissioned aeon ago. We will not miss it at all. OK dlg@ henning@ and a lot of cheers by other in the room
2007-05-29Beef up malo_hexdump() to emulate hexdump -C output. Helps to see hiddenClaudio Jeker
agendas in buffers that stupidly encode numbers as strings so that we need to parse them in the kernel as seen on che(4). OK mglocker@
2007-05-28Gently nudge up the interrupt coalescing timeout to 128 microseconds. ThisChris Kuethe
gives the firmware time to do its job. Makes my fxps go from 12000int/sec while moving 100Mbps to 3000int/sec ok beck claudio
2007-05-26fix a copy/paste typo from my previous commit: s/dhf/dhg/gConstantine A. Murenin
2007-05-26'recevied' -> 'received' in a displayed message. From Diego Casati.Kenneth R Westerback
2007-05-25Bump firmware package version; Better naming of the malo firmware files.Marcus Glocker
discussed with, and OK claudio@
2007-05-25add support for W83627DHG; ok kettenisConstantine A. Murenin
2007-05-25fix a typo in RFACT of 3.3Vcc of w83627ehf; ok kettenisConstantine A. Murenin
2007-05-23instead of trying to keep up w/ changing url, simply documentJason McIntyre
the name of the chip document; fixes pr 5489, from Diego Casati ok jsg
2007-05-23%z in printf(9) is not the same as %z in printf(3). Change to %luRay Lai
and cast arg to ulong. OK jsg@ and krw@.
2007-05-22Pass string to printf instead of struct that contains string.Ray Lai
OK tedu@ and miod@.
2007-05-22Remove broken URLs.Jonathan Gray
Fixes PRs 5482, 5483, 5484, 5486, 5487, 5488 Filed by casati@nortel.com
2007-05-21Switch pcfiic to rwlock.Jonathan Gray
ok dlg@ kettenis@
2007-05-19My 3c905C needs a brief pause after reset for PIO too, at least on hppa.Mark Kettenis
tested by thib@, ok deraadt@