summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-09-06Remove old m88k workaround, now that we have SET_PC_REGS().Miod Vallat
2005-09-06Initialize max_cpus for 88110-based systems (i.e. 197 boards). Makes pmapMiod Vallat
so much happy.
2005-09-06Do not depend on MAX_CPUS being 4.Miod Vallat
2005-09-06Correct control registers descriptive names for 88110.Miod Vallat
2005-09-06MVME88K -> M88K in include file guard symbols. No functional changes.Miod Vallat
2005-09-06Remove misleading NCPUS (hardcoded) option. From the SMP tree.Miod Vallat
2005-09-06anomoly -> anomalyMiod Vallat
2005-09-06typoJolan Luff
2005-09-06Enforce splbio() while traversing the worklist inPedro Martelletto
softdep_disk_io_initiation(). Testing by dtucker@ and krw@, okay deraadt@ long ago.
2005-09-06Describe the steps involved in allocating a new inode and space the codePedro Martelletto
a bit, to improve readability. Okay krw@ and art@, input from deraadt@ and jmc@.
2005-09-06- fix up the ioctl handler and make it use ether_ioctl() tooBrad Smith
- remove more unused code - remove some of the macros to make this more readable ok krw@
2005-09-06Step three: remove now unused advmcode*.Kenneth R Westerback
Requested by deraadt@ a while ago.
2005-09-06Step two: use advmcode* in their new location.Kenneth R Westerback
Requested by deraadt@ a while ago.
2005-09-06First step in moving advmcode* from dev/ic to dev/microcode/adw.Kenneth R Westerback
Requested by deraadt@ a while ago.
2005-09-06another round of removing ifdef crud from this driver.Brad Smith
ok krw@ martin@
2005-09-05On the road again.Miod Vallat
2005-09-05correct manfid length check.Federico G. Schwindt
2005-09-05in DIOCCHANGERULE, properly initialize table, if used in NAT rule.Daniel Hartmeier
from Boris Polevoy <vapcom at mail dot ru>, ok mcbride@
2005-09-05If we have a match for the PCI ID we don't care what the PCI class is.Jonathan Gray
It is often not mass storage anyway. Remove IDE_PCI_CLASS_OVERRIDE which forced matching when class was not mass storage, just use PCI ID. ok grange@
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