Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-21 | tweak the sas io unit to use 32 openings when talking to sata disks if the | David Gwynne | |
firmware has it configured lower. | |||
2010-09-21 | Stefan Rinkes pointed that the disabled aac(4) driver does not compile | Kenneth R Westerback | |
with gcc4. Use his diff to make it compile. Submitted & tested by Stefan Rinkes. Thanks! | |||
2010-09-21 | Get rid of physio(9) in wdc(4)'s ioctl(2) handler. Based on similar | Matthew Dempsky | |
changes to the SCSI subsystem ioctl(2) handlers. ok dlg@; ok and tweaks krw@; no objections jsg@ | |||
2010-09-21 | mclgeti() support for xl(4). All done by Loganaden Velvindron. | Claudio Jeker | |
Tested by various people on tech@. OK dlg@, deraadt@ and myself | |||
2010-09-20 | Stop doing shutdown hooks in network drivers where possible. We already | Theo de Raadt | |
take all interfaces down, via their xxstop routines. Claudio and I have verified that none of the shutdown hooks do much extra beyond what xxstop was already doing; it is largely a pile of junk. ok claudio, some early comments by sthen; also read by matthew, jsg | |||
2010-09-20 | Use SSD_ERRCODE_CURRENT instead of magic 0x70. | Kenneth R Westerback | |
ok dlg@ matthew@ | |||
2010-09-20 | bus_dmamap_sync was using xs->flags to determine which direction | David Gwynne | |
to sync the map. unfortunately xs is not set for internal ciss commands, so this is a null deref. it wasnt until kettenis made bus_dmamap_sync a real function which needed its arguments evaluated that this became a real problem though. hit by mcbride@ and sakurai-san. fixed by krw@ over my shoulder when we figured out which specific chunk of code was faulting. tested by sakurai-san ok krw@ deraadt@ | |||
2010-09-20 | After the gcc4 switch the stack protector triggers in atw | Jonathan Gray | |
when a buffer is overflowed. Fix this and increase the size of the rate buffer (which is still < IEEE80211_RATE_MAXSIZE due to hardware restrictions) while here. ok claudio@ damien@ | |||
2010-09-14 | allow devices on fc and sas adapters to use all the openings the chip can | David Gwynne | |
provide. spi parts are still limited. ok krw@ | |||
2010-09-13 | if a busy sas device is unplugged, the pending io on that device will | David Gwynne | |
never complete. when we get a detach event from the firmware, we currently deactivate the device and then request the scsi midlayer attempt to detach the device. this diff now deactivates the device and then resets the target, forcing the ioc to complete the pending operations. once the reset has completed we then request a detach of the kernel device. this lets me hotplug busy sas disks without leaking scsi_xfers or bufs or anything. | |||
2010-09-13 | dont reuse the event notifications ccbs id for the acknowledgement. | David Gwynne | |
2010-09-13 | im not convinced we only have one outstanding event to ack at a time. this | David Gwynne | |
steals^Wleverages the code used in mpii for handling a list of events to acknowlede. tested by hotplugging sas disks. | |||
2010-09-13 | sas io unit page 0 and 1 | David Gwynne | |
2010-09-10 | implement handling of rescan events on fc controllers. allows "hotplug" of | David Gwynne | |
fc devices. | |||
2010-09-10 | #defines for the bits inside the flags field in mpi_cfg_fc_port_pg1 | David Gwynne | |
2010-09-07 | remove the powerhook code. All architectures now use the ca_activate tree | Theo de Raadt | |
traversal code to suspend/resume ok oga kettenis blambert | |||
2010-09-06 | All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME} | Theo de Raadt | |
2010-09-06 | Make the interrupt handler bail out early if the device wen away. Fixes | Mark Kettenis | |
freezes that occur when removing CardBus cards when the interface is up. ok deraadt@ | |||
2010-09-06 | initialize rv to 0 in the activate function | Theo de Raadt | |
2010-09-06 | initialize rv to 0 in the activate function | Theo de Raadt | |
2010-09-03 | fix initialization value of analog register AR_AN_TOP2 on some high | Damien Bergamini | |
power AR9220 adapters. this should fix at least Ubiquiti SR71-12 and Winstron DMNA92 adapters. problem reported by Giuseppe Scalzi and Alex Dervish fix tested by Giuseppe Scalzi with a Winstron DMNA92 | |||
2010-09-02 | the page_length field in the vpd page header is 2 bytes, not 1. | David Gwynne | |
ok krw@ marco@ matthew@ | |||
2010-08-31 | Add DVACT_QUIECE support. This is called before splhigh() and before | Theo de Raadt | |
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations to get ready. Discussed quite a while back with kettenis and jakemsr, oga suddenly needed it as well and wrote half of it, so it was time to finish it. proofread by miod. | |||
2010-08-31 | activate function should return result of config_activate_children | Theo de Raadt | |
2010-08-30 | activate functions, when they do not add value, should return the result of ↵ | Theo de Raadt | |
config_activate_children | |||
2010-08-30 | ioctl versus resume-workq exclusion; cloned from iwn | Theo de Raadt | |
2010-08-29 | the scsi completion code thinks that if you dont get MFI_STAT_OK | David Gwynne | |
back from the chip on a command then the command completely failed. MFI_STAT_SCSI_DONE_WITH_ERROR really means the command completed fine, but there's some sense data too. this tweaks the handling to be more appropriate, as per the linux and solaris drivers. timed out waiting for beck@ putting this in cos its obviously more correct than the current code. | |||
2010-08-29 | pcmcia/wdc_pcmcia.c | Theo de Raadt | |
2010-08-29 | expose dp8390_enable/disable to the higher level drivers | Theo de Raadt | |
2010-08-29 | Massage the powerhook functions into activate functions, and then call | Theo de Raadt | |
them from the powerhook. Fix a few quibbles about the things done for the IFF_RUNNING and IFF_UP cases ok kettenis | |||
2010-08-28 | rename the *_power functions to *_powerhook to indicate that we've been | Theo de Raadt | |
here already for the activate/powerhook cleanup | |||
2010-08-28 | ansify function definitions, and constify a few arrays while there. | Miod Vallat | |
no functional change. | |||
2010-08-27 | Move the activate function from pci to the the main driver, so that the | Theo de Raadt | |
powerhook can use it ok kettenis | |||
2010-08-27 | Massage the powerhook function into an activate function, and since we do | Theo de Raadt | |
not neccessarily have a working filesystem for the firmware yet, use a workq to postpone resume. Then make the powerhook function call the activate function. There remains some questions about the sc_power functions... ok kettenis | |||
2010-08-27 | Move the dc_pci_activate function to dc.c, and mangle it up with some of | Theo de Raadt | |
the gunk in dc_powerhook. Then make dc_powerhook just call it ok kettenis | |||
2010-08-27 | Get rid of the clumsy pci_activate function and do this job inside ath.c | Theo de Raadt | |
so that the powerhook wrapper can get at it ok kettenis | |||
2010-08-27 | Since the pci-specific activate function does nothing, move it to fxp.c. | Theo de Raadt | |
Then it is possible for fxp_powerhook to use it. | |||
2010-08-27 | remove the unused if_init callback in struct ifnet | Jonathan Gray | |
ok deraadt@ henning@ claudio@ | |||
2010-08-27 | Stop calling xxx_power() from xxx_resume(); instead do it the other way around. | Mark Kettenis | |
Get rid of the sc_power() callback, which isn't used anymore. ok deraadt@ | |||
2010-08-27 | Move the xl_pci_activate function into xl_activate so that it is in the | Theo de Raadt | |
sub-driver, and then xl_powerhook can simply be a wrapper around it ok kettenis; discussion about nested structure aliasing with miod | |||
2010-08-27 | gem never had any powerhook support | Theo de Raadt | |
2010-08-27 | get some format strings and variables right in debug output | David Gwynne | |
2010-08-27 | kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber | Theo de Raadt | |
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections | |||
2010-08-25 | Make CardBus ral(4) suspend and resume properly on machines that keep the | Mark Kettenis | |
CardBus bridge powered up during suspend. Step zero on the long road towards fully suspending CardBus on all machines. ok deraadt@, damien@ | |||
2010-08-25 | try giving all devices on ami access to all the ccbs. iopools will share | David Gwynne | |
them out safely. | |||
2010-08-20 | add format strings implied by surplus arguments | Jonathan Gray | |
found via the clang static analyser | |||
2010-08-18 | fix a test that prevents division by zero | Damien Bergamini | |
restore the 100us delay after writing to an analog register since it turns out that it is required. | |||
2010-08-18 | - in STA mode, when associated, stop receiving beacons from other BSS. | Damien Bergamini | |
tested by ray@ - no periodic PA calibration for the Osprey (AR9380) | |||
2010-08-12 | Enable periodic (every 4 minutes) power amplifier calibration | Damien Bergamini | |
on AR9285 and AR9287. | |||
2010-08-12 | no need to set these pointers to NULL, softc is already zeroed. | Damien Bergamini | |