summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-09-04remove unused NetBSD pci_intr_evcnt() function.Brad Smith
2005-09-04add a commentBrad Smith
2005-09-04remove unused NetBSD pci_intr_evcnt() function.Brad Smith
ok beck@
2005-09-04a couple typosBrad Smith
2005-09-01Make sure the packets are aligned for dma while copying,Can Erkin Acar
cleanup extra alignment code, and check lengths properly while copying. tested by Greg Mortensen thevision at pobox com ok deraadt@
2005-09-01On zaurus, don't fall back to fake geometry if ata_get_params() fails,Uwe Stuehler
which can happen if the integrated microdrive's DRQ is not clear. This fixes the drive geometry in the default disklabel. Help from weingart@ and grange@; "mention `grange and i will fix this better after 3.8 or we will be flailed'" deraadt@
2005-08-31Remove check that prevents disks that are not in the unused state to move toMarco Peereboom
hot spare state. This *should* be detected in f/w however there is one known case where it does not work and hence this workaround was committed. By having this in there disks that were removed and reinserted that used to be hotspares show up as unused however the meta data on disk conflicts with this preventing it to be moved to hotspare. OK, commit this, deraadt@
2005-08-31Fix some tsleep magic. Code done by krw@Marco Peereboom
feel free to commit, krw@ ok deraadt@
2005-08-31Make ioctls stop polling for completion. This enhances the responsivenessMarco Peereboom
of the system. tested and ok krw@, dlg@, deraadt@
2005-08-31Comment out KASSERT(mc != NULL) in carp_ether_delmulti. Because we mess withRyan Thomas McBride
the multicast list elsewhere, it can occur under certain conditions (PR4475). ok deraadt@ mpf@
2005-08-30- add BCM5780 PCI idsBrad Smith
- recognize BCM5704 B0 - recognize BCM5780 which is supposedly part of the BCM5714 family according to the Linux driver but there is a BCM5714 core too. huh? ok deraadt@
2005-08-30unfortunately large fixes to memleaks caused by abuse of incompleteDavid Gwynne
allocmem and freemem functions. freemem now unmaps dma memory from the kernel address space instead of leaking it. lots of tweaks and input from marco (who also found the bug in the first place). lots of testing by krw and marco. ok krw@ marco@ permitted by deraadt@
2005-08-29setpu stack for primary boot at 0x30000 after the load address.Michael Shalayeff
this allows netbooting uncompressed kernels on newer alphas. this shall be addressed futher after the release. deraadt@ ok
2005-08-29Handle AX88178 on 12 Mbit USB controllers such as ohci & uhci moreJonathan Gray
gracefully. ok dlg@ permission granted by deraadt@
2005-08-29regenBrad Smith
2005-08-29add Broadcom BCM5780 PCI ids.Brad Smith
from Broadcom Linux driver ok deraadt@
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@