summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-08-29- use pci_mapreg_type() to fix some systems that would fail to attachBrad Smith
sk(4) with "can't map mem space". - add missing newline for failure case of pci_intr_establish(). ok deraadt@
2005-08-29If a buffer larger than the max allowed is offered to scsi_mode_sense()Kenneth R Westerback
or scsi_mode_sense_big(), use as much of it as is allowed. Don't justi mask off the higher bits and possibly leave yourself with 0 space. Fixes problem aoyama@ found on luna88k tape drive. ok deraadt@.
2005-08-29Make sure certain architectures/compilers don't round up the size ofKenneth R Westerback
struct scsi_mode_sense_buf to 256, a value which doesn't fit in the 1 byte length field of a scsi command. Found by aoyama@ on luna88k. Suggested by miod@. ok deraadt@.
2005-08-28axe gig needs eephy; noted by dlg/jsg, add to required mediaTheo de Raadt
2005-08-28wake aps up on resume from suspend/standby; ok deraadt@Damien Miller
tested by jsg@ naddy@ and some helpful souls on tech@
2005-08-28The AX88178 sends multiple frames per USB transferJonathan Gray
and has extra bytes and rules to deal with this. Initial rxeof/encap changes by me, dlg@ rewrote axe_rxeof and axe_newbuf from scratch and cleaned up encap so they can jump over buildings in a single bound and be more elegant/readable. ok deraadt@
2005-08-28We don't need to do a PHY select for AX88178 but we shouldJonathan Gray
do a generic soft reset before doing a specific one. ok dlg@ deraadt@
2005-08-28Write back IPG values in a manner more likely to work.Jonathan Gray
ok dlg@ deraadt@
2005-08-28Tell the AX88178 to give us the full transaction size.Jonathan Gray
ok dlg@ deraadt@
2005-08-28Account for larger USB transaction size of AX88178 byJonathan Gray
making the size a member of the softc. ok dlg@ deraadt@
2005-08-28We have to do some extra hand holding on link state changeJonathan Gray
on the AX88178 because of the external PHY. ok dlg@ deraadt@
2005-08-27remove -beta tagTheo de Raadt
2005-08-27Extend basic rate set in 802.11g so that ACKs can be sent at 5.5 or 11Mbps.Damien Bergamini
Fix WME settings (Best Effort). ok deraadt@ reyk@ henning@ tested by many
2005-08-27Extend basic rate set in 802.11g so that ACKs can be sent at 5.5 or 11Mbps.Damien Bergamini
Fix IFS parameters settings (account for Rx/Tx turnaround time). Fix WME settings (Best Effort). ok deraadt@ reyk@ henning@ tested by many
2005-08-27regenBrad Smith
2005-08-27BCMunknown -> BCM5752Brad Smith
ok deraadt@
2005-08-27Use the ATA security FREEZE LOCK command on disks beforeJonathan Gray
they are presented to the rest of the system to stop a password being set that could deny access to the disk. ok grange@ deraadt@
2005-08-27recognize 5752 A1 ASIC rev.Brad Smith
Noticed by niklas@ on some newer hardware ok deraadt@
2005-08-27Define some ATA security feature set commands.Jonathan Gray
ok grange@ deraadt@
2005-08-27Fix some issues to make the dual port version work this should also fix theClaudio Jeker
singleport T1 (B8Z2/ESF) mode. OK deraadt@
2005-08-27Timeout service request in the uncommon case that the port is blockedClaudio Jeker
(there needs to be correct clocking on the port or all service request will be ignored). Without the timeout the interface will just hang till reboot. OK deraadt@
2005-08-27Tell the dma engine to not poll to often for new descriptors and initialize theClaudio Jeker
groups on attach (the late attach is a design error and fails on the dual port card) and do some additional cleanup. OK deraadt@
2005-08-27iosize is no longer used, use correct esc->mc_iosize instead. This fixes aClaudio Jeker
panic on attach failure. The MUSYCC_MAXFRM_MASK was incorrectly defined and use correct device name in an error message. OK deraadt@
2005-08-27move some debug messages to use the debug macros so they dont appearAnil Madhavapeddy
during normal operation. deraadt@ ok
2005-08-27backout unapproved diffTheo de Raadt
2005-08-27Put in missing parenthesis and thus always passKenneth R Westerback
SCSI_IGNORE_ILLEGAL_REQUEST and SCSI_IGNORE_MEDIA_CHANGE flags to scsi_test_unit_ready() and scsi_start() during sdopen(). Re-enables use of devices that don't support START_STOP or TEST_UNIT_READY commands. Noted by and fix tested by Jason Crawford on VMWare disks. ok dlg@ henning@, supportive comments from miod@.
2005-08-25Extend basic rate set in 802.11g so that ACKs can be sent at 5.5 or 11Mbps.Damien Bergamini
Fix WME settings (Best Effort).
2005-08-25Extend basic rate set in 802.11g so that ACKs can be sent at 5.5 or 11Mbps.Damien Bergamini
Fix IFS parameters settings (account for Rx/Tx turnaround time). Fix WME settings (Best Effort).
2005-08-24some scsi xs transactions can come in without a buffer pointer obviously; ↵Theo de Raadt
tested by unpronounceable
2005-08-24Add MegaRAID 320E.Marco Peereboom
"Hell, put it in now." deraadt@
2005-08-24Sync.Marco Peereboom
2005-08-24Add MEGARAID_3202E. ok deraadt@Marco Peereboom
2005-08-24dont reject safte devices that have more inquiry information than theDavid Gwynne
space we want to store it in. thanks to mtu for providing access to hardware for this. ok deraadt@
2005-08-24Test xs->bp before de-referencing it. Initialize it to NULL, not 0.Kenneth R Westerback
ok deraadt@
2005-08-23setting the FAULT flag on a device so the alarm led blinks may haveDavid Gwynne
unwanted side effects, eg, disabling both fc ports and powering the disk down. so remove this knob for now. ok deraadt@
2005-08-23Move uses of struct scsi_mode_sense_buf (255 bytes each) from theKenneth R Westerback
stack into malloc'd memory. ok deraadt@
2005-08-23Spin up sd units even if TEST_UNIT_READY says they're ready.Kenneth R Westerback
Use consistant scsi_autoconf and SCSI_SILENT flags in scsi_test_unit()/scsi_start() pairs. Fixes some hppa, vax, sparc systems that do not spin up disks automatically. Keeps USB card readers and such reasonably quiet. Noted by millert@ (hppa), henning@ (sparc) and hshoexer@ (vax). ok deraadt@
2005-08-23add rl* at cardbus. deraadt@ ok.Federico G. Schwindt
2005-08-23Test for cold and apply relevant flags for all scsi commands.Marco Peereboom
ok dlg@ krw@ deraadt@
2005-08-23syncTheo de Raadt
2005-08-23another stupid lucent modemTheo de Raadt
2005-08-23Ralink windows driver incorrectly lists a SMC product id that isJonathan Gray
actually some kind of prism chip. ok derradt@
2005-08-23regenJonathan Gray
2005-08-23Ralink windows driver incorectly lists an SMC product id which isJonathan Gray
actually some kind of prism chip. ok deraadt@
2005-08-22Only let unused disks be marked hot spares. ok deraadt@Marco Peereboom
2005-08-22check for scsi_autoconf state, spotted by marco; ok krwTheo de Raadt
2005-08-22don't go beyond the end when parsing tuples. diff originally by pascoe@,Federico G. Schwindt
final from enami@netbsd.org. problem found and tested by Simon Kuhnle <simonkuhnle at web dot de> with a rtw card with a broken cis. jsg@ pascoe@ deraadt@ ok.
2005-08-22when nat'ing icmp 'connections', replace icmp id with proxy valuesDaniel Hartmeier
(similar to proxy ports for tcp/udp). not all clients use per-invokation random ids, this allows multiple concurrent connections from such clients. thanks for testing to Rod Whitworth, "looks ok" markus@
2005-08-22fix rdr to bitmask replacement address pool. patch from Max Laier,Daniel Hartmeier
reported by Boris Polevoy, tested by Jean Debogue, ok henning@
2005-08-22spell: failture->failureDavid Krause