summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-04-21Directly comparing pcitag_t's doesn't work on all platforms so decompose theMark Kettenis
tag and compare the individual components.
2010-04-21sys/sysctl.h is not needed here. OK deraadt@Claudio Jeker
2010-04-21scale angle by 1000000 to permit min.sec accuracyTheo de Raadt
2010-04-21More reworking of interrupt handling and VME support, and rename variousMiod Vallat
board-specific defines to prevent any risk of collision. This also adds clock support for AV530 family, and timecounter support (cio code sync'ed with mvme88k). And various bugs fixed in the process. This is enough to get models 4600 and 530 to run multiuser with a Hawk Ethernet VME card (the onboard Ethernet is not supported yet, coming soon). There is no way to share a disk with DG/UX yet, the kernel (and fdisk(8)) needs to become aware of its ways.
2010-04-21First stab at a VGA arbiter. The VGA arbiter makes sure that only a singleMark Kettenis
VGA device can be active, and is responsible for routing IO to the active VGA device. Processes can use the new PCIOC_GETVGA and PCIOC_SETVGA ioctls to manipulate the VGA arbiter. ok deraadt@, oga@
2010-04-21Fix validation of div by constant; from Guy Harris; ok deraadt@ miod@Otto Moerbeek
2010-04-21<sys/systm.h> required now.Miod Vallat
2010-04-21more proc.h neededTheo de Raadt
2010-04-21two more proc.h neededTheo de Raadt
2010-04-21- missing rcs idJasper Lievisse Adriaanse
2010-04-21Implement a way to get information about a rtable. Currently only the rtableidClaudio Jeker
and rdomainid are returned. This is necessary to know where L2 information of a table is stored (which will be needed soon by bgpd). Also while there change the errno for non-existing routing tables to ENOENT. 'Fine' deraadt@
2010-04-21Add the "angle" sensor, measured in degrees; from Luis PintoTheo de Raadt
2010-04-21more cleanup to cope with the change that tries to make proc.h not actTheo de Raadt
like it is everything.h
2010-04-21the atomic primitives are still impossible to get at without using proc.hTheo de Raadt
(because it pulls in so much of the world) so include it for now, but mark it XXX ok tedu
2010-04-21more cleanup to cope with the change that tries to make proc.h not actTheo de Raadt
like it is everything.h ok tedu
2010-04-21Add support for PLX I/O 9016 based 8 port serial cardBob Beck
ok deraadt@
2010-04-20more misuse of user.h and sysctl.hTheo de Raadt
2010-04-20cleanup more confusion regarding user.h before proc.h, or missing proc.hTheo de Raadt
ok tedu
2010-04-20fix amd64 kernel compile after proc.h was removed from uvm_map.hPeter Hessler
OK tedu@
2010-04-20Add bus_dma and oosiop(4), as found on the AV530 family. Tested on model 4605.Miod Vallat
2010-04-20need proc.h before user.hTed Unangst
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga
2010-04-20- Fix a calculation bug with the RX ring buffer memory address whichTheo de Raadt
slipped into the original NetBSD code around sixteen years ago. Although it has been working so far because some devices used address zero and other devices ignored the wrong higher bits. - Remove the mem_ring override in ne2000_attach() now that dp8390_config() calculates mem_ring correctly. From NetBSD, via brad
2010-04-20mii_activate() is unusedTheo de Raadt
2010-04-20destintation -> destinationMiod Vallat
2010-04-20Allow MD oosiop(4) attachment to override default values for a few of theMiod Vallat
chip initialization values (SCNTL0, DMODE, DWT, CTEST7). No functional change on hppa; required by another upcoming attachment.
2010-04-20Add "frequency" type for sensors. (and teach userland how to print thatOwain Ainsworth
type). Measured in Hz. ok deraadt@
2010-04-20Instead of using PWT|PCD for uncached (which is wrong on old cpus andOwain Ainsworth
HARD uncached on anything since the P3), use just PCD which is UC- (uncached but mtrrs can override it to write combining). Now kernel mappings of WC-mtrred memory actually get write combining memory. the speed up is very very nice. ok kettenis@, deraadt@, beck@ (who likes his scrollbars non-wibbly)
2010-04-20Nuke a few dead stores and one newly created unused variable.Owain Ainsworth
found by clang static analyser
2010-04-20A few more uninitialised variables (mostly in incredibly uncommon cases).Owain Ainsworth
found by clang static analyser.
2010-04-20Don't ask for ipv6 checksum offloading as we aren't ready for it.Jonathan Gray
Due to the messy context setup code this was breaking ipv6 forwarding when ipv4 offloading was enabled. All checksum offloading remains disabled for now. Debugged with and ok claudio@
2010-04-20some misc cleanup of dmesgTheo de Raadt
2010-04-20start the sensors off invalid... ok yuoTheo de Raadt
2010-04-20Don't write garbage to the config space for phison,Jonathan Gray
we shouldn't be touching the config space at all here. Found by the clang static analyser. ok deraadt
2010-04-20for some systems we need to try harder; from Mikko TolmunenTheo de Raadt
2010-04-20- an unsolicited response contains the codec address, not the codecJacob Meuser
index - we only care about unsolicited responses from the codec we're using - no need to enable unsolicited responses until we know which codec we're using fixes crash reported by jacekm@
2010-04-19cckinc is signed.Damien Bergamini
fixes TX power settings for CCK rates on AR9280 devices in open-loop power control mode.
2010-04-19Make ipending a per-CPU value.Joel Sing
ok kettenis@
2010-04-19Enable VS timer dispatch, from Eric Anholt upstream.Owain Ainsworth
The spec says this bit should always be set. It can help resolve hardware deadlocks where a unit downstream of the VS is waiting for more input, the VS has one vertex queueed up but not dispatched because it hope to get one more vertex so it can dispatch a 2x4 block, and software isn't handing any more vertices due to waiting on rendering.
2010-04-19Fix use of uninitialised variable.Owain Ainsworth
found by Clang static analyser.
2010-04-19Add flags for chipset generation in with the other chipset type flagsOwain Ainsworth
prevent the horrible constructs we use to determine generation otherwise.
2010-04-19Correct fence pitch checking code and fence register writing on 9{1,4}x.Owain Ainsworth
The tiling check was insufficient and allowing too large pitches, which in some cases could cause graphical corruption, strengthen the check so that only valid values are used. Solved and patch ported from one by Daniel Vetter on intel-gfx. tested by Dorian Buettner (first dot last @ gmx dot de); thanks!
2010-04-19Make the Processor Status Word (PSW) a per-CPU value.Joel Sing
ok kettenis@
2010-04-19move the stupid throwing away of ata_xfers out the run of the first scsiDavid Gwynne
inquiry against the device up to when the port is probed. this has been bugging me for ages.
2010-04-19Add missing bits for complete softraid support to sparc/sparc64David Coppa
ramdisks. OK marco@
2010-04-19Add missing bits for complete softraid support to sparc/sparc64David Coppa
ramdisks. OK marco@
2010-04-19i thought mpi gave each device all the openings on the bus, which was aDavid Gwynne
big motivation to implementing iopools. while looking at another issue i noticed that openings were cut up for each disk. this cranks openings to maxcmds.
2010-04-18Work in progress support for AViiON models 4600 and 530.Miod Vallat
Also features support for {awkw,bast}ard 6:1 CMMU:CPU configurations (4I2D). Tested on model 4605, which runs up to cpu_initclocks(), which is not written for this system family yet. No regression on model 4300.
2010-04-18Correctly identify a machine of the 530 family even if the expansion I/O boardMiod Vallat
is missing. While there, provide more information when the system is not recognized.