summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-04-12Remove erroneous spaces.Joel Sing
From brad
2009-04-12Move code handling Machine Descriptions out of the cbus(4) driver.Mark Kettenis
2009-04-12regenMark Kettenis
2009-04-12The Intel 21154 was incorrectly named S21154.Mark Kettenis
2009-04-11Avoid dereferencing a null pointer when pf attempts to translate aJoel Sing
specifically crafted IP datagram. Problem noted by Sebastian Rother. ok henning@ mcbride@ sthen@
2009-04-11Create extents for resource accounting on the root PCI bus and populate themMark Kettenis
based on the BIOS memory map.
2009-04-11There is no support for building multi-socket machines in AMD Family 11hMark Kettenis
processors, so the registers to configure addition HyperTransport links are absent. Don't try attaching addition pci busses on these processors to avoid probing non-existant registers.
2009-04-11Add PnP ID for PCIe host bridge.Mark Kettenis
2009-04-10Catch up with sparc changes (bcopy fix, struct cpuinfo, etc); still dies earlyMiod Vallat
with so-called ``external memory fault'' which cause I can't figure out.
2009-04-10Add EX_CONFLICTOK flag that allows an allocation to conflict with existingMark Kettenis
allocations, making sure that the union of all space is allocated. ok deraadt@
2009-04-10Don't blindly dereference a NULL pointer when the boot device is not known.Miod Vallat
2009-04-10Use soft interrupts to dispatch pcmcia device interrupts; this ensures theMiod Vallat
driver handlers get invoked at the right level. Parts from NetBSD.
2009-04-10generic soft interrupts support for sparc. Soft interrupt handlers are nowMiod Vallat
kept in a separate intrhand array, with their own enable bits so that soft interrupts sharing the same level only get invoked if really triggered. Inspired by NetBSD with significant changes. ok kettenis@
2009-04-10When deciding whether a sti@pci board is the console, compare all valid BARMiod Vallat
addresses against PAGE0 information, instead than only the BAR mapping sti region #0; on Visualize FXe, PAGE0 will point to another BAR and we would not recognize the display as the console device. Tested on Visualize FX4 (on C240), Visualize EG (on B1000) and Visualize FXe (on B2000).
2009-04-10Fix for PR6099, read/write of non-byte aligned IndexFieldJordan Hargrave
ok marco@
2009-04-10fix typos introducedTheo de Raadt
2009-04-10gasio was killed so kill protoMarco Peereboom
2009-04-09Fixed argtype for Increment/Decrement. Field args were being evaluated asJordan Hargrave
integers instead remaining a reference. ok marco@
2009-04-09white space fixesDavid Gwynne
2009-04-09Remove obsolete braces around case switch.Marcus Glocker
2009-04-09regenMarcus Glocker
2009-04-09Add DisplayLink DL-120 USB graphic chip found in theMarcus Glocker
``Century Corp. Japan Plus One LCD-8000U'' device.
2009-04-09in bus_dmamap_load_raw, only map the requested number of bytes into theDavid Gwynne
dmamap rather than all the bytes that are described by the sg list we're mapping. tested on iwn by me and beck@
2009-04-09unrevert marco's revert of my bus_dmamap_load_raw change now that i foundDavid Gwynne
the bug in it. bugfix will be committed next. make bus_dmamap_load_raw respect the constraints of the dmamap we're loading the raw memory into, particularly the segment size constraint.
2009-04-08Cleanup arm soft interrupt handling; remove the unused IPL_SERIAL and renameMark Kettenis
IPL_SOFTSERIAL to IPL_SOFTTTY. tested by oga@ ok miod@
2009-04-08Rever _raw change from dlg because it breaks iwn.Marco Peereboom
ok oga
2009-04-07Remove recursion from the sdmmc locking regime.Bret Lambert
In snaps for a while. Originally hacked on phessler@'s couch. Testing by many, input from jsg@ "I'm tired of seeing the Ms" deraadt@
2009-04-07after i took everything in this fiule apart and reassembled with a lot ofHenning Brauer
new stuff asserting copyright is in order
2009-04-07turn fragment reassembly on by default. the is little to no reason toHenning Brauer
not do fragment reassembly. discussed with dlg and ryan in basel. ok ryan dlg sthen jdixon todd deraadt
2009-04-07dont enable checksumming. it appears to be broken on fragmented packets.David Gwynne
discovered by deraadt@, fix tested by deraadt@
2009-04-07Eliminate useless loop over partitions and ignore zero lengthKenneth R Westerback
partitions in bsd_to_sun(), even if their offsets are nonsense. Theo says if sparc64 compiles so will sparc. Fixes some useless disklabel warning messages. ok miod@ deraadt@
2009-04-07Remove some dead and if 0ed out code in the ragedrm freelist, while i'm hereOwain Ainsworth
detypedef the buf_priv structure and do a little cleanup.
2009-04-06Convert the savage freelist over to TAILQ.Owain Ainsworth
2009-04-06Convert the mgadrm freelist code from handrolled lists to TAILQs,Owain Ainsworth
simplifying while I do it.
2009-04-06factor a bit more functionality into common code instead of repeating itOwain Ainsworth
in both drivers.
2009-04-06Actually remove the file this time...Owain Ainsworth
2009-04-06Turns out that the intel version of the heap interface isn't usedOwain Ainsworth
anywhere. And hasn't been for a long time. The ddx sets up the heap (so just always pass that call and do nothing), but nothing that touches inteldrm actually uses the other ioctls. So just kill them and have one lese thing to worry about. Still got sis and radeon using the common code though.
2009-04-06Set a first step on the road towards proper accounting of PCI resources byMark Kettenis
keeping a per-bus extent containing the address space available to the bus. Address space assigned to devices will be removed from these extents when we attach a bus. And when we try to map a PCI BAR that hasn't had address space assigned to it, we will allocate free space from this extent. This won't do anything until the parent devices actually allocate and initialize the extents. ok oga@
2009-04-06Remove the only (commented) instance of UVM_PAGE_INLINE from the treeOwain Ainsworth
now that it has been removed. uncommenting that would not even have been the correct way to enable it. ok miod@
2009-04-06do not panic when the device is unplugged.Damien Bergamini
fix 802.11a rate set for dual-band devices (spotted by Fukaumi Naoki). + usual cleanup
2009-04-06In the case where VM_PHYSSEG_MAX == 1 make vm_physseg_find andOwain Ainsworth
PHYS_TO_VM_PAGE inline again. This should stop function call overhead killing the vax and other slow archs while keeping the benefit for the faster platforms. suggested by miod. ok miod@, toby@.
2009-04-06Adjust for renaming the DEC 21554 in pcidevs.Mark Kettenis
2009-04-06regenMark Kettenis
2009-04-06Fix entry for DEC 21554 non-transparent PCI bridge (which may be used in someMark Kettenis
Compaq RAID controllers, but there are other applications too).
2009-04-061) scrub rules are completely gone.Henning Brauer
2) packet reassembly: only one method remains, full reassembly. crop and drop-ovl are gone. . set reassemble yes|no [no-df] if no-df is given fragments (and only fragments!) with the df bit set have it cleared before entering the fragment cache, and thus the reassembled packet doesn't have df set either. it does NOT touch non-fragmented packets. 3) regular rules can have scrub options. . pass scrub(no-df, min-ttl 64, max-mss 1400, set-tos lowdelay) . match scrub(reassemble tcp, random-id) of course all options are optional. the individual options still do what they used to do on scrub rules, but everything is stateful now. 4) match rules "match" is a new action, just like pass and block are, and can be used like they do. opposed to pass or block, they do NOT change the pass/block state of a packet. i. e. . pass . match passes the packet, and . block . match blocks it. Every time (!) a match rule matches, i. e. not only when it is the last matching rule, the following actions are set: -queue assignment. can be overwritten later, the last rule that set a queue wins. note how this is different from the last matching rule wins, if the last matching rule has no queue assignments and the second last matching rule was a match rule with queue assignments, these assignments are taken. -rtable assignments. works the same as queue assignments. -set-tos, min-ttl, max-mss, no-df, random-id, reassemble tcp, all work like the above -logging. every matching rule causes the packet to be logged. this means a single packet can get logged more than once (think multiple log interfaces with different receivers, like pflogd and spamlogd) . almost entirely hacked at n2k9 in basel, could not be committed close to release. this really should have been multiple diffs, but splitting them now is not feasible any more. input from mcbride and dlg, and frantzen about the fragment handling. speedup around 7% for the common case, the more the more scrub rules were in use. manpage not up to date, being worked on.
2009-04-06Instead of doing splbio(); simple_lock(&uvm.aiodoned_lock); just replaceOwain Ainsworth
the simple lock with a real lock - a IPL_BIO mutex. While i'm here, make the sleeping condition one hell of a lot simpler in the aio daemon. some ideas from and ok art@.
2009-04-06Don't bother to keep a count of irqs recieved, the os does that for us.Owain Ainsworth
2009-04-06Don't forget to TAILQ_INIT() the heap...Owain Ainsworth
2009-04-06sisdrm depends on the heap interface too, now.Owain Ainsworth
2009-04-06extra or missing blank lines.Owain Ainsworth