summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-07-13make the send queue one slot long. this forces packets off the virtualDavid Gwynne
interfaces down to the queue on the physical interface immediately. this avoids having the tx mitigation code wasting cpu time dicking around with simply shuffling packets off virtual interface queues and lets it do its job of ammortising the cost of calling a real interfaces start routine. it also prevents an artificial inflation of the physical interfaces queue length where packets could hide on the virtual interfaces queues during softnet before being dumped en masse onto the hardware. this will smooth out the rate at which packets are submitted to the hardware. kjc@ says this has no impact on altq. ya henning@
2009-07-12Assert copyright.Joel Sing
suggested by and ok marco@
2009-07-12Fix rebuild percentage so that it ranges from 0-99% rather than 1-100%.Joel Sing
ok marco@
2009-07-12Don't attach when the PROM didn't give us an interrupt. Fix printed messagesMark Kettenis
in error paths while I'm there. Eliminate a fairly useless local variable as well. ok miod@
2009-07-12Add protection against multiple inclusion.Mark Kettenis
ok miod@
2009-07-12Enable gem@sbus.Mark Kettenis
2009-07-12In a error case in malo_init (e.g. can't load the firmware),Marcus Glocker
always call malo_stop which removes the previously registered interrupt handler from the cardbus interrupt handler chain. Otherwise, since malo_init gets called twice in a error case, our interrupt handler got registered twice and on the next device detach, just the last registered interrupt handler got removed, which leaves one left. That caused a kernel page fault trap as soon our "zombie" interrupt handler got called. Fix a typo while here.
2009-07-12Clean up debug droppings in sr_raid1_set_vol_state().Joel Sing
ok marco@
2009-07-12Enable hotspare rebuilds for softraid RAID1.Joel Sing
ok marco@
2009-07-12Add support for global hotspares to softraid.Joel Sing
ok marco@
2009-07-12Add some missing GEM_SBUS_CONFIG bits.Mark Kettenis
ok miod@, jsg@
2009-07-12If devices have roamed, complain once then update the metadata, just likeJoel Sing
we do for roaming volumes. ok marco@
2009-07-11When rebooting, pass a request to the PROM for it to skip diagnostics andMiod Vallat
memory initialization. This reduces memory test and initialization time from a "in soviet russia, memory test you" time of over 2 minutes for 1GB on Origin 200, to a more reasonable 12 seconds (and on a Fuel with 2GB, time goes down from 6 seconds to under a second).
2009-07-11Nuke an '__inline' that upset clang. Multi-line function should notKenneth R Westerback
be inline anyway. Found by jsg@. The last kernel file that clang complains about. ok marco@ jsg@
2009-07-11- Add some new feature flagsStuart Henderson
- Add defines for newer chipsets From FreeBSD via Brad. No functional change, needed for future work. ok naddy@.
2009-07-11Ensure that we hold the appropriate lock before callingJoel Sing
sr_ioctl_createraid(). ok marco@
2009-07-11timeout_add -> timeout_add_msecBret Lambert
Been running this on my laptop for a while now with no apparent ill effects. originally from a longer list from grange@ ok krw@ as part of that list
2009-07-10syncStuart Henderson
2009-07-10add a couple of NVIDIA MCP77 PCI-ISA bridges, from Brad.Stuart Henderson
2009-07-10RL_HWREV_8168DP can be either RTL8168DP or RTL8111DP, so print both,Stuart Henderson
as done for other RTL8168 HWREVs. From Brad.
2009-07-10Swap the hardware revision IDs for 8169S and 8110S. Agrees with theStuart Henderson
labelling on naddy@'s PCI cards. From Brad.
2009-07-10check 4 (instead of merely 2) addr bits for probing sdtemp(4) chips; ok deraadtConstantine A. Murenin
2009-07-10fix the complement in the 2's complement patch from yesterday; ok deraadtConstantine A. Murenin
2009-07-10Switch away from using -traditional-cpp to iso/ansi cpp for asm files.Jonathan Gray
More architectures hopefully to follow. ok kettenis@
2009-07-10rework link state handling a bit. this reports missing link correctly. theDavid Gwynne
old code showed the nic as active all the time, which makes it suck as part of a trunk. testing and ok by reyk@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok mglocker@
2009-07-10support onsemi's cat34ts02 and cat6095; ok deraadtConstantine A. Murenin
2009-07-10the temperature value is really a 13-bit 2's complement; ok deraadtConstantine A. Murenin
2009-07-10fix the mask for the sign bit and some comment; ok deraadtConstantine A. Murenin
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
which is exactly what the macro does. Macro's that are nothing more then: #define FUNCTION(arg) function(arg) are almost always pointless and should go away. OK blambert@ Agreed by many.
2009-07-09regenJonathan Gray
2009-07-09Intel 55[02]0 and Matrox G200eWJonathan Gray
2009-07-09Be sure we don't hit a NULL deref. Pointed out byMarcus Glocker
remco at d-compu dot dyndns dot org. OK marco@
2009-07-09Use MAXTTL instead of the hardcoded value.Michele Marchetto
2009-07-09Remove commented variable.Michele Marchetto
2009-07-09unsigned -> unsigned intBret Lambert
ok claudio@, henning@
2009-07-08revert MCLGETI for sk(4) for now. commit requested by deraadt@Stuart Henderson
2009-07-08Add the same routing domain assignments and checks into the not so usedClaudio Jeker
protocols as it is currently in if_ethersubr.c. OK reyk@
2009-07-08remove redundant comment.Thordur I. Bjornsson
OK blambert@
2009-07-07When adding or changing a MPLS route, add RTF_MPLS flag toMichele Marchetto
routing message. We can then rely on that flag to spot out MPLS routes coming from routing socket. ok claudio@
2009-07-06Almost rewrite xbridge PCI resource allocation:Miod Vallat
- introduce an interface for widget drivers to ask the xbow to map arbitrary views of their address space, in addition to the low 16MB. This operation may fail or map a subset range of what the caller asked for, depending on the platform we're running on. - use this in xbridge to set up views on the direct memory and i/o spaces, to map devices resources when they don't fit in one of the devio small ranges (limited to 2MB anyway). These views are only allocated when devio can't do the job, so as not to consume too many resources on Origin family systems where such views are scarce resources (and shared accross the whole crossbow). This makes pci devices with large resource needs configure correctly. While there, fix programming of 64 bit memory BAR; this makes bge(4) work. Tested on Octane (with Bridge revision < 4 and >= 4), Origin 200 (Bridge >= 4) and Fuel (XBridge). ok deraadt@
2009-07-05take us to 4.6-currentDavid Gwynne
2009-07-05Buffer in RMD160_CTX is length RMD160_BLOCK_LENGTH not RMD160_DIGEST_LENGTH.Todd C. Miller
Userland version was already correct. From Jason Fritcher. OK deraadt@
2009-07-05Make sure the OpenBSD bounds exclude the first cylinder, which is usedMiod Vallat
to store the bootblocks. ok deraadt@
2009-07-05radeonfb(4), an accelerated framebuffer for Sun XVR-100 boards (which have anMark Kettenis
ATI Radeon 7000 chip on them). While there, make gfxp(4) depend on rasops32 just in case somebody removes other framebuffers that pull this in from their kernel config. ok deraadt@, miod@
2009-07-03Try to be smarter when allocating pci resources, and use unused devio slotsMiod Vallat
whenever possible for devices with both i/o and memory resources; still doesn't allow more than 2MB of mappings per device in each space, though.
2009-07-03Add a wsdisplay type for an upcoming driver for the Sun XVR-100 framebuffer.Mark Kettenis
ok deraadt@