Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-23 | Fix an embarrassing pasto that triggered a panic. Reported by henning. | Marco Peereboom | |
ok dlg | |||
2006-04-22 | Henning reported a crash I can't explain while using the new sensor code. | Marco Peereboom | |
Disable until diagnosed and fixed. | |||
2006-04-22 | Add support for the Adaptec RAID-On-Chip architecture. This in turn | Brad Smith | |
provides support for the Adaptec 2130S and 2230SLP adapters. From FreeBSD ok dlg@ | |||
2006-04-21 | typo | Marco Peereboom | |
2006-04-21 | Add 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-21 | remove duplicate defines. another find by lint. | David Gwynne | |
2006-04-21 | remove the ami_inquire prototype. the function doesnt exist and its not | David Gwynne | |
used anywhere. thanks lint. thint. | |||
2006-04-20 | Fix various printf() issues: too many arguments, not enough arguments, argument | Miod Vallat | |
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@ | |||
2006-04-20 | printf() calls with the format string spanning several lines should not have | Miod Vallat | |
trailing commas between string chunks, for this has unexpected effects. | |||
2006-04-20 | Cast unsigned to signed when you want to check for negative values. | Miod Vallat | |
2006-04-20 | marco hates typedefs as much as i do, so he asked me to clean mfi like i | David 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-20 | return after goto wont be reached, so remove it. found by lint. | David Gwynne | |
2006-04-20 | get rid of the ccb list typedef. while here switch to TAILQ_HEAD instead | David 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-20 | remove some useless code found by lint. | David Gwynne | |
2006-04-20 | this is the proper fix for krws bug. i feel kinda bad taking the commit | David 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-19 | Make sure sc_first_poll is initialized to 0 so sensor_task_thread | Kenneth 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-18 | Make output in sysctl pretier. | Marco Peereboom | |
2006-04-18 | It helps to initialize a queue before usage. | Marco Peereboom | |
2006-04-18 | Display logical disk status in sysctl. Now one can use sensorsd to | Marco Peereboom | |
monitor disks on ami. Ex.: hw.sensors.0=sd2, logical disk, WARNING, drive, degraded Requested deraadt@ ok dlg@ | |||
2006-04-18 | Actually add ccbs to the queue. | Marco Peereboom | |
Fix the error path for mfi_init_ccb. Alter dmamap for io. | |||
2006-04-17 | Sprinkle 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-17 | Setup ccbs and clean up ccb structure. | Marco Peereboom | |
2006-04-16 | Oops, make mfi_allocmem always use 64 byte boundaries since frames have to | Marco Peereboom | |
have that alignment. It doesn't matter for the other consumers of the function. | |||
2006-04-16 | Add frame memory and sglist allocation. | Marco Peereboom | |
2006-04-16 | Introduce sti_rom_size() which will compute the size of a card's rom, and | Miod Vallat | |
use it instead of duplicating the same logic in 3 places. ok mickey@ | |||
2006-04-16 | Make memory access use macro. | Marco Peereboom | |
2006-04-16 | typo | Marco Peereboom | |
2006-04-16 | Add get and put ccb functions. Shuffle some more definitions. | Marco Peereboom | |
2006-04-16 | Nicer print when context is invalid. | Marco Peereboom | |
2006-04-16 | Shuffle some #defines. | Marco Peereboom | |
Fix comments. Add human readable enable intrrupt #define. | |||
2006-04-16 | Add interrupt handler. Idea borrowed from FreeBSD since it is much nicer | Marco Peereboom | |
than the Linux one. | |||
2006-04-16 | Correctly computed the mac address checksum on big-endian platforms. | Miod Vallat | |
2006-04-16 | Add skeleton ccb structure. | Marco Peereboom | |
2006-04-15 | check for IFF_RUNNING being set before calling gem_init(). | Brad Smith | |
2006-04-10 | fix the macro so gem recognizes the Intrepid 2 GMAC. | Brad Smith | |
2006-04-10 | recognize the Intrepid 2 GMAC | Brad Smith | |
2006-04-10 | under some cases some wi(4) cards freak out and then do not recover. | Theo de Raadt | |
make the driver reset in those cases. this needs testing, which is why it is being commited; from kuethe | |||
2006-04-07 | Replace bus_space functions with generic ones that do barriers. | Marco Peereboom | |
2006-04-07 | Add memory allocator functions. | Marco Peereboom | |
2006-04-07 | Print state in debug. Change return vales to 1 instead of ENXIO. | Marco Peereboom | |
2006-04-07 | Make a better debug mechanism. | Marco Peereboom | |
2006-04-07 | Enable mfi_transition_fw() original code from FreeBSD. | Marco Peereboom | |
2006-04-07 | Add DEVNAME. | Marco Peereboom | |
2006-04-07 | Add register offsets. Borrowed from FreeBSD. | Marco Peereboom | |
2006-04-06 | Add fw transition logic. | Marco Peereboom | |
2006-04-06 | Add structures and defines. | Marco Peereboom | |
Losely based on FreeBSD and Linux code. | |||
2006-04-06 | Add skeleton driver for MegaRAID SAS. | Marco Peereboom | |
2006-04-06 | the synchronise cache path is unique in ami in that it uses two megaraid | David Gwynne | |
commands to emulated one scsi command. i reuse the ccb and pushed it along the scsi setup path twice. when we do this for asynchronous cache syncs this happens with the timeout: timeout_set, timeout_add, timeout_set, timeout_del. from the looks of the timeout code the repeat of the timeout_set/add part can do really interesting things with the linked list holding all the timeouts. this adds a timeout_del in the middle of the two set/adds so the lists are kept sane. | |||
2006-04-06 | kudos to djm for finding an embarrassing bug. using the same variable | David Gwynne | |
as a counter for both an inner and outer loop is not good(tm). ok marco@ | |||
2006-04-05 | Add support for big endian archs. tested by jaredy@ and ok jsg@ | Kurt Miller | |