summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-05-08silence a debug message; from kili@outback.escape.de; ok miodTheo de Raadt
2006-05-08Make ath_attach() return error if the RF is unsupported so the PCI codePedro Martelletto
can disable its shutdown hooks, otherwise we will panic upon halt. Okay jsg@ and brad@.
2006-05-08Revert last commit till a better method can be found.Jonathan Gray
At least one system (Ben Lovett's) had issues with the change.
2006-05-07Add remaining glue for physical disk count.Marco Peereboom
Fix a bugglet in the size of GDT_IOCHAN_DESC structure.
2006-05-07Fix cut'n'paste abuse in previous typo fix; spotted by Constantine A. Murenin,Miod Vallat
thanks!
2006-05-07oops, use correct size for GET_IOC_CHAN_DESCMarco Peereboom
2006-05-07Add bio framework (not functional yet).Marco Peereboom
Replace index into struct for device name with DEVNAME macro. Started translating linux driver back into swedish for gdt->sc_more_proc part. Added initial scsi passthrough magic. Added 2 new debug bits. ok krw
2006-05-07add a name to rwlock so that we can tell where procs are getting stuckTed Unangst
without breaking into ddb. doubles the size of rwlock [1], but moving forward this really helps. ok/tested pedro fgsch millert krw [1 - next person to add a field to this struct gets whipped with a wet noodle]
2006-05-07Add abstraction for resistor factor; makes it easier to compare them toMark Kettenis
the datasheets. Fix a few typos too. From Constantine Murenin <mureninc@gmail.org>.
2006-05-07- Return if there is nothing to do in the interrupt handler.Brad Smith
- Check for IFF_RUNNING in the interrupt loop.
2006-05-07Default to Ultra DMA Mode 6 not 5 when we know we have a nativeJonathan Gray
SATA drive. ok grange@
2006-05-03Provide a function pointer that allows for the wdc resetJonathan Gray
method to be changed as required. This will be required for dealing with several chips in pciide.
2006-05-01remove an unused prototype.Damien Bergamini
2006-04-28The W83627THF is pretty much identical to the W83637HF, not the W83627HF.Mark Kettenis
stolen from wilfried@
2006-04-28remove function prototypes for a few functions removed in rev 1.25.Brad Smith
ok krw@
2006-04-27Quirk for MSI Megabook S270 audio output. Ok deraadt@.Matthieu Herrb
2006-04-272 lines of code in most drivers, to do the timestamping; ok miod kettenisTheo de Raadt
2006-04-26it turns out that a drivers interrupt handler is called at the spl it wasDavid Gwynne
established at. this means we dont need splbio() calls in ami_intr because its already been raised. this diff removes unneeded splbio calls from the interrupt handler path. it also sets it up so the completion paths are all called at splbio, so i can get rid of the spl calls inside those functions too. neither marco or pedro could see anything wrong with it
2006-04-26Remove smc90cx6 files which are no longer used by anything.Claudio Jeker
Found by jsg@ OK brad@ martin@
2006-04-26the pack #pragma is a gccism, so replace its use with __packed which willDavid Gwynne
be defined correctly for whatever compilers we use. prompted by lint. ok krw@ marco@
2006-04-26Fix some debug prints.Marco Peereboom
2006-04-25the error path for teh sync cache command should return, not try to blunderDavid Gwynne
on with the second half of the command.
2006-04-23Make code path for ADMTek variant endian-safe; fixes dc(4) on macppc.Mark Kettenis
ok brad@
2006-04-23Fix an embarrassing pasto that triggered a panic. Reported by henning.Marco Peereboom
ok dlg
2006-04-22Henning reported a crash I can't explain while using the new sensor code.Marco Peereboom
Disable until diagnosed and fixed.
2006-04-22Add support for the Adaptec RAID-On-Chip architecture. This in turnBrad Smith
provides support for the Adaptec 2130S and 2230SLP adapters. From FreeBSD ok dlg@
2006-04-21typoMarco Peereboom
2006-04-21Add mfi_poll and use the new shiny function to setup all the hardware queues.Marco Peereboom
Lots of ideas from the FreeBSD driver.
2006-04-21remove duplicate defines. another find by lint.David Gwynne
2006-04-21remove the ami_inquire prototype. the function doesnt exist and its notDavid Gwynne
used anywhere. thanks lint. thint.
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
2006-04-20printf() calls with the format string spanning several lines should not haveMiod Vallat
trailing commas between string chunks, for this has unexpected effects.
2006-04-20Cast unsigned to signed when you want to check for negative values.Miod Vallat
2006-04-20marco hates typedefs as much as i do, so he asked me to clean mfi like iDavid Gwynne
just did with ami. this gets rid of the typedef for the ccb lists. also uses TAILQ_FIRST to get ccbs off the freelist. this is a proactive fix for a lint teary.
2006-04-20return after goto wont be reached, so remove it. found by lint.David Gwynne
2006-04-20get rid of the ccb list typedef. while here switch to TAILQ_HEAD insteadDavid Gwynne
of TAILQ_TAIL when pulling ccbs off the free list since it does less "interesting" things with pointers. changes prompted by lint bitching.
2006-04-20remove some useless code found by lint.David Gwynne
2006-04-20this is the proper fix for krws bug. i feel kinda bad taking the commitDavid Gwynne
from him since he did most of the hard work on it. when marco added the sensor for logical disks he added some extra bits to the softc, but inside an #if NBIO > 0 block. NBIO is set by "bio.h" which was included in ami.c, but not in ami_pci.c which is what is actually responsible for getting the softc allocated. because of this the softc in the rest of the system was smaller than what ami.c needed, so technically it was using unallocated memory. in krws case that unallocated space was filled with garbage, hence his panic. the moral of this story is do NOT put #if inside structs that are passed between different source files. its too easy to have this kind of screwup happen.
2006-04-19Make sure sc_first_poll is initialized to 0 so sensor_task_threadKenneth R Westerback
doesn't blow up on first call to ami_refresh(). There's probably a better fix, but this stops the crashes while that fix is found. ok dlg@
2006-04-18Make output in sysctl pretier.Marco Peereboom
2006-04-18It helps to initialize a queue before usage.Marco Peereboom
2006-04-18Display logical disk status in sysctl. Now one can use sensorsd toMarco Peereboom
monitor disks on ami. Ex.: hw.sensors.0=sd2, logical disk, WARNING, drive, degraded Requested deraadt@ ok dlg@
2006-04-18Actually add ccbs to the queue.Marco Peereboom
Fix the error path for mfi_init_ccb. Alter dmamap for io.
2006-04-17Sprinkle more debug. Remove 64 byte boundary; it doesn't seem to like it.Marco Peereboom
Hack around 64 byte boundary for the frames for now.
2006-04-17Setup ccbs and clean up ccb structure.Marco Peereboom
2006-04-16Oops, make mfi_allocmem always use 64 byte boundaries since frames have toMarco Peereboom
have that alignment. It doesn't matter for the other consumers of the function.
2006-04-16Add frame memory and sglist allocation.Marco Peereboom
2006-04-16Introduce sti_rom_size() which will compute the size of a card's rom, andMiod Vallat
use it instead of duplicating the same logic in 3 places. ok mickey@
2006-04-16Make memory access use macro.Marco Peereboom
2006-04-16typoMarco Peereboom