summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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@
2007-05-19command ids for mailbox commandsDavid Gwynne
2007-05-19stash the dma tag in sli_softcDavid Gwynne
2007-05-19hook up interrupts, but a little different to what i usually do. this mapsDavid Gwynne
the interrupt before the bus independant code is attached, and establishes the interrupt after that.
2007-05-18spelling in comment fixDavid Gwynne
2007-05-16add definitions for the bits in the "register" bus_space region.David Gwynne
2007-05-16map the pci BARs that we're interested in. this gives us access to theDavid Gwynne
chips registers and io interface, but whats actually in them is still a mystery to me.
2007-05-15start work on a driver for emulex fibre channel controllers.David Gwynne
it is split up into a bus independant chunk (dev/ic/sli*) and the attach glue (dev/pci/sli_pci.c) cos there are sbus varaints of this chip which i hope to get my hands on one day. this does nothing except attach to the LP8000 controllers.
2007-05-14delete unused code; ok krwTheo de Raadt
2007-05-09Remove an obsolete comment which guesses about a register write an neverMarcus Glocker
was used anyway. OK claudio@
2007-05-09diable -> disableMiod Vallat
2007-05-09remove the internal wrapper functions for ieee80211_mhz2ieee andReyk Floeter
ieee80211_ieee2mhz which also removes some dead code. figured out by deraadt@
2007-05-08backout while the amd64 puc situation is rethoughtTheo de Raadt
2007-05-08non-static inline functions waste spaceTheo de Raadt
2007-05-08move com_activate() to where it belongsTheo de Raadt
2007-05-08put more foo_detach() routines where they are usedTheo de Raadt
2007-05-08rl_detach() is only used for cardbus caseTheo de Raadt
2007-05-08wdcrestart() is never usedTheo de Raadt
2007-05-08atapi_print() is never usedTheo de Raadt
2007-05-08ami chips have no mechanism to take commands off them once we've submittedDavid Gwynne
them. this means that we cant reliably complete an io before the chip says we can because it can possibly complete later and overwrite memory it no longer owns, or write garbage to disk. so this diff forces the timeout on a scsi io to be as long as the chip should ever take, which is sixty seconds. after much discussion with marco we also decided to add a bit more so the time spent in the software runq wouldnt affect the ios lifetime too much. instead of completing ios out of the timeout, this simply warns the operator to check the state of the volumes if things are starting to slow down. ok marco@
2007-05-08turn off SIOP_STATS; ok krwTheo de Raadt
2007-05-08dc_detach() is only used by cardbus code, so move it there; ok jsgTheo de Raadt
2007-05-07floating unused variable (except in debug case)Theo de Raadt
2007-05-05malo_hexdump() is only used by code under MALO_DEBUG, so ifdef itJonathan Gray
ok mglocker@ claudio@
2007-05-05move xl_detach() -- which is only used by cardbus -- to the cardbus code.Theo de Raadt
ok jsg
2007-05-05Properly ifdef debug bits to save a bit of space.Jonathan Gray
ok reyk@
2007-05-03Add monitor mode. Add fast channel switching. Do some simplificationsMarcus Glocker
while there. Comments, tested, and OK claudio@
2007-05-03Enable fast channel switching in monitor mode, which makes apps likeMarcus Glocker
kismet happy. Previously system got very slow because at every channel switch an ENETRESET was issued. Reported and diff by Steffen Schuetz <st.sch@gmx.net>. Closes PR 5452. OK claudio@
2007-05-02Eliminate unused inline functions and replace ahc_lock() whichKenneth R Westerback
resolves to s = splbio() and ahc_unlock() which resolves to splx(s) with splbio/splx calls. ok marco@ dlg@
2007-04-28missing splbio/splx pair (which splasserted me per-device probe) inTheo de Raadt
polling mode code; ok dlg marco krw
2007-04-28remove abstraction around splbio/splx; they just confuse things; ok dlg ↵Theo de Raadt
marco krw
2007-04-26Improve debug statements. No binary change without AMI_DEBUG.Alexander Bluhm
ok marco
2007-04-23Kill inlines to shave some bytes.Artur Grabowski
krw@
2007-04-22disable debug output here too. it's working fine (even on strange archs)David Gwynne
2007-04-20Increase the delay while uploading a firmware buffer in malo_load_firmware().Claudio Jeker
We're doing DMA transfers without interrupts or some other indication and 100 microseconds is not enough on my X40 and so the firmware gets corrupted. Increasing it to 500 microseconds this should give us enough safety margin. OK mglocker@
2007-04-19Cleanup phy selection code, simplifying the code considerably. Attach onlyMark Kettenis
one phy on Sun ERI; gets rid of the duplicate phy on the blade1k. tested by many, ok drahn@
2007-04-19make it compile again if LMDEBUG is defined;Robert Nagy
ok kettenis@
2007-04-17The debug printf in malo_newstate() is too verbose so require debug level 2Claudio Jeker
to print it.
2007-04-16During the drives detection only check the status register to be notAlexander Yurchenko
0xff, this will allow to detect some certain microdrives plugged into soekris. Patch from Jochen <jochen@penguin-breeder.org> via PR 5340.
2007-04-13scsi_generic is now 16 bytes. Adjust padding so struct is stillKenneth R Westerback
256 bytes.