summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2012-06-10Allow a variable number of words for the Serializer/Deserializer programming.Mark Kettenis
Probably not enought to make the AR9380 chips to work, but at least the kernel shouldn't crash anymore when we see one. ok stsp@
2012-05-12Repairs operation of twin-channel ahc devices. Only affects ahc@eisa sinceMiod Vallat
none of the ahc@pci are twin-channel. Broken since 3.6 as well.
2012-05-12Remove unused variable.Mark Kettenis
ok mpi@, miod@
2012-05-098401E/8402/8105E/8105E_SPIN1 don't support jumbo framesJonathan Gray
from Brad
2012-05-09The 8168D chipset needs to have the PHY wake PM flag set to ensureJonathan Gray
the PHY is woken up upon attachment. From FreeBSD via Brad.
2012-05-06add support for the reverse video attribute in sti(4)Mike Belopuhov
makes programs like less and mg look a wee bit prettier ok miod
2012-04-27Sprinkle bus_space_barrier after register writes. 70% paranoia and 30%Miod Vallat
``boots being interrupted while the prom is loading the kernel and then restarted no longer seem to end up with a hosed chip with this diff'' on sgi.
2012-04-09If running on the original 33C93, reject commands not in groups 0, 1 or 5Miod Vallat
if their size is not exactly six bytes, as the chip can't cope with this situation. Another situation all 33C93 do not cope with very well, is sending stop commands to targets (such as all sd(4) devices when halting with poweroff) - it takes a very long time to recover once all targets on the bus have been powered down, so we need to raise timeouts to unholy values (one test case has required more than 20 seconds to recover). Not surprising, as this command is not documented as supported in the chip documentation.
2012-04-09Cope with strict alignment platforms, and unbreak the RX logic. Tested withMiod Vallat
ep@eisa on sgi.
2012-04-08additional adapter types from FreeBSDJonathan Gray
2012-04-03After suspend/resume, reload the firmware. Skip firmware onTheo de Raadt
FXP_REV_82550_C with server extensions.
2012-03-28Work in progress support for the SGI Indigo, Indigo 2 and Indy systemsMiod Vallat
(IP20, IP22, IP24) in 64-bit mode, adapated from NetBSD. Currently limited to headless operation, input and video drivers will get ported soon. Should work on all R4000, R4440 and R5000 based systems. L2 cache on R5000SC Indy not supported yet (coming soon), R4600 not supported yet either (coming soon as well). Tested to boot multiuser on: Indigo2 R4000SC, Indy R4000PC, Indy R4000SC, Indy R5000SC, Indigo2 R4400SC. There are still glitches in the Ethernet driver which are being looked at. Expansion support is limited to the GIO E++ board; GIO boards with PCI-GIO bridges not ported yet due to the lack of hardware, and this kind of driver does not port blindly. Most of this work comes from NetBSD, polishing and integration work, as well as putting as many ``R4x00 in 64-bit mode'' erratas as necessary, by yours truly. More work is coming, as well as trying to get some easy way to boot install kernels (as older PROM can only boot ECOFF binaries, which won't do for the kernel).
2012-03-24Left-pad the eeprom dump with zeroes in the debug dump to make it easier toMiod Vallat
read (this code is not compiled unless option AHC_DUMP_EEPROM anyway)
2012-03-07reisters -> registersMiod Vallat
2012-02-24Correct the spelling of "transferred" and "transferring"Philip Guenthe
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
2012-02-12use the barrier before the inb; not instead ofTheo de Raadt
prompted by kettenis, ok miod, tested on the troublesome machine
2012-02-11This code used to do a register read to force a barrier -- that is notTheo de Raadt
sufficient. Now, use bus_space_barrier explicitly. This was exposed by newer gcc on DS20 alpha with ahc(4) controllers using any drives other than Seagates. During initial probe the drive vendor/product string would be empty. diff from miod; tested by myself and henning
2012-02-04Close races where timer is started on a command and then an splbio()Kenneth R Westerback
is called before the command is started. This might have resulted in the timeout firing and invalidating the command before it is started. Move the timeout_add_* inside the relevant splbio()/splx(). ok miod@ tedu@
2012-02-04Since sili_get_ccb() can return NULL if there are no ccb's available,Kenneth R Westerback
check for the result in sili_pmp_softreset() as is done for all other invocations of sili_get_ccb(). While here disambiguate the printf's being emitted when sili_get_ccb() returns NULL.
2012-02-02disable the polling timeout when we suspend; discovered by some codeTheo de Raadt
guenther is working on ok miod
2012-01-29Fix another instance of the 11a->11b switch panic (see previous commit).Stefan Sperling
It could also trigger during a scan. Moving the fix into ath_setcurmode() should fix the problem for good. Pointed out by ml@extensibl.com; ok mikeb
2012-01-28Don't panic when switching an ath interface in hostap mode from 11a to 11b.Stefan Sperling
The driver forgot to reconfigure the ic_bss' rate table during the switch. This triggered an assertion in ieee80211_newstate() which is present to prevent an out-of-bounds array access (11a has more rates than 11b). Problem reported by ml@extensibl.com; ok mikeb deraadt
2012-01-28Fix ar5k_rt_copy() to copy all fields of the HAL_RATE_TABLE struct.Stefan Sperling
ok mikeb deraadt
2012-01-28Fix dot11Rate for 11b entries in the 11g rates table.Stefan Sperling
ok mikeb deraadt
2012-01-16mpi_get_ccb and mpi_put_ccb are only called via iopools now, so changeDavid Gwynne
their types to fit the iopools api rather than doing awful typecasts to shove them into iopool_init.
2012-01-12add support for skinny variants.David Gwynne
from Alexey Suslikov reviewed by marco
2012-01-11ansify and de'register some prototypesDavid Hill
ok miod@
2012-01-09repair errors paths for dma_alloc; spotted by dhillTheo de Raadt
2012-01-09another set of missing dma_alloc's for talking to a device. hit byTheo de Raadt
henning. ok krw dlg
2012-01-02Do not advertize this device as full-duplex. While I believe the Siemens chipMiod Vallat
itself is, the FIFO engine around doesn't seem to be.
2011-12-25Fix the documented CAVEAT by forcing the TX gain to minus infinity whenMiod Vallat
the user asks to only keep the input source enabled, and remember this to keep reporting the previously configured volume values in mixerctl. While there, document the supported encodings and the supported mixer items in the manual page, and the fact that all output sources share the same volume (GX gain) setting.
2011-12-24Default to a much smaller input gain on the MIC line, to improve recordingMiod Vallat
quality. While there, use a better gain table.
2011-12-22Add 16-bit modes to arcofi(4). Big-endian signed is native, others require someMiod Vallat
bit or byte flipping. Trivial, and would have been part of the initial commit, had I not made the mistake of testing a big-endian chip with 16-bit audio data in little-endian format (``oops'').
2011-12-21Work-in-progress driver for the HP ``Audio1'' device found on the HP 9000/425eMiod Vallat
(hp300) and the HP9000/705 and 9000/710 (hppa). 8-bit mono, 8KHz, no surprise since it is based upon a digital phone chip. Tested on 425e only so far, and playback only; configured in, but disabled, on hppa kernels until there are positive test reports (I am not sure the interrupt assignment on hppa is correct). And now people no longer can joke about audio on hp300.
2011-12-19fxp_init could bail out on errors without calling slpx.Marco Pfatschbacher
Change fxp_resume to avoid the nested splnet call inside fxp_init altogether. Initial diff by Jan Klemkow; Tested and OK bluhm.
2011-12-06Add support for Nuvoton NCT6776F fan, voltage and temperature sensors.Marco Pfatschbacher
Tested on a Supermicro X9SCL/X9SCM board. With help from kettenis to make the part that works around a chip ID collision less ugly. OK kettenis
2011-12-03Make sure splx() is called before exiting trm_StartWaitingSRB().Kenneth R Westerback
Found by Jan Klemkow. Thanks!
2011-12-01Be sure to splx() before return in pgt_media_status(); from Jan Klemkow onMiod Vallat
tech@
2011-11-10Death to inappropriate whitespace. First one pointed out by Brad.Kenneth R Westerback
2011-11-08ncr53c9x (a.k.a. esp on sparc64) does not like 16-byte SCSI commandsKenneth R Westerback
such as READ_CAPACITY_16. So plugging SCSI-3 devices onto such a bus can be problematic. Cap the acceptable xs->cmdlen at 12 in ncr53c9x.c. Problem noted and fix tested by Kurt Mosiejczuk. Thanks! Diff mostly from miod@ with kibitzing from me. ok miod@
2011-10-27Initialize variables before use. From Pedro Martelletto, tweaked byKenneth R Westerback
me to add more paranoia.
2011-10-25Initialize variables before use. And if initializing, use the correctKenneth R Westerback
source! From Pedro Martelletto.
2011-10-22Comment out ISP_{T,}DEBUG[0-3] traces if option SMALL_KERNEL; allows alphaMiod Vallat
floppyB to fit again. ok deraadt@
2011-10-14Make ath(4) send multicast frames once, not multiple times.Stefan Sperling
Fixes TKIP replays seen by STAs connecting to an ath(4) hostap and matches the FreeBSD driver. Tested with several cards by Theo and myself. Thanks mikeb for providing some cards, your next beer in Berlin is on me. ok deraadt
2011-10-13Fix definition of XL_PME_EN.Mark Kettenis
ok stsp@
2011-10-05It is not safe to call sensor_task_unregister() from inside theTheo de Raadt
refresh function. sensor_task_work() is incomprehensively complex. Work around this by using a workq to deactive the i2c alias when the isa interface is preffered. Problem of dead sensors reported by henning, fix tested by Nigel Taylor ok kettenis
2011-10-05ami_drv_inq bus_dmamap_loads the inquiry buffer, so that buffer has to beDavid Gwynne
under 4g now. this moves the inqbufs off the stack to dma_alloc/dma_free. reported by and fix tested by henning@ ok henning@
2011-09-23Make sure siop_xfer is a multiple of 128 bytes as intended (and as told byMiod Vallat
the comments); this makes hppa64 much happier according to jsing@. ok krw@ exactly two years ago, it was about time to commit this.
2011-09-19Missing argument in STIDEBUG printfMiod Vallat
2011-09-17Don't bother keeping a {u,}lptioctl function which is a duplicate ofMiod Vallat
enodev(). ok jsing@ krw@ deraadt@