summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-05-06Add a counter to record how many states have been created by a rule.Marco Pfatschbacher
It shows up in pfctl verbose mode and in the 7th field of the labels output. Also remove the label printing for scrub rules, as they do not support labels. OK dhartmei@ (on an earlier version), henning@, mcbride@
2008-05-06Prevent possible overflow of int variable on large memory machines.Tobias Weingartner
ok kettenis@
2008-05-06fix debug output.Esben Norby
ok claudio@
2008-05-06Rather than clearing particularly dangerous flags when found, justKenneth R Westerback
zero all flags when we pool_put mbufs. ok claudio@ henning@
2008-05-06rename file; Paul de WeerdTheo de Raadt
2008-05-05Correct defines for NXE_DB_PEGID_RX|TX. OK dlg@Claudio Jeker
2008-05-05We will never use __BUS_SPACE_HAS_STREAM_METHODS so remove all the codeClaudio Jeker
behind it. OK miod@, drahn@
2008-05-05dell drac 3 and 4 virtual uarts are pucs running very fast.David Gwynne
2008-05-05Make nmea(4) behave like the other timedelta sensors and provide aMarc Balmer
signal sensor that reflects the status of the receiver. tested by and ok ckuethe
2008-05-05retire ltsleep(); The only refrence left too it is in anThordur I. Bjornsson
ifdef netbsd block in drm code, but oga@ says he'll remove it soon... OK art@, oga@;
2008-05-05add lldp typeDavid Gwynne
2008-05-05in rt_gettable, we unfortunately have to check for rt_tables[id] != NULLHenning Brauer
before returning rt_tables[id][af2rtafidx[af]. when you created tables and left a hole (0 and 2 exist, 1 does not) it is possible to hit that case. issue found & ok claudio
2008-05-05remove a useless refcnt in pf_state_key.Henning Brauer
when it is in fact only used to delete the state key when the number of attached states (in a tailq) drops to zero, we can as well test for the queue beeing empty. this is a leftover from some early version that did things differently. ok ryan
2008-05-05Don't set the adaptor template link's flags and quirks when trying toKenneth R Westerback
set the flags and quirks for a device. Should fix weird issues where the device after an ATAPI device gets marked as ATAPI. First reported on misc@ by Daniel Wade, who also provided some useful testing. ok dlg@
2008-05-05Make umsm only claim a single interface so it doesn't matchJonathan Gray
on umass interfaces, and add Huawei E220. From rivo nurges <rix@estpak.ee>. And add another device while here.
2008-05-05regenJonathan Gray
2008-05-05Another msm.Jonathan Gray
Reported on misc@ by Denis Doroshenko <denis.doroshenko@gmail.com>
2008-05-04convert to ptoa/atopMartin Reindl
tested by maja@
2008-05-04Manage interrupts based on priority better, still working on this...Dale Rahn
2008-05-04Unpopulated CRIME memory banks (or logically empty due to CRIME mergingMiod Vallat
contiguous 64MB DIMMs in a single 128MB one) are not reported as memory at offset zero, but actually as duplicates of the first entry (which always matches real memory). If the DIMMs are set up in decreasing sizes, as recommanded by SGI, the first entry will be configured at offset zero, so the existing code would run fine. If, however, you order your DIMMs in a different order, the first entry might not be at offset zero, so the kernel will mess up its memory information, which will cause random effects from simply misreported memory sizes, to the inability to boot. Fix this by strengthening the check for an empty bank. Problem reported by Jason Bergstrom (bergie, bergie dot net), analysis and fix by me.
2008-05-04convert arm and mips64 platforms to ptoa/atopMartin Reindl
tested by maja@
2008-05-03Rework the interrupt calculation masks, a bit easier to follow (not so wrong).Dale Rahn
2008-05-03catch up with curpriority changes and convert to ptoa/atopMartin Reindl
ok miod@
2008-05-03Do not acquire the kernel lock for SY_NOLOCK system calls; ok drahn@ kettenis@Miod Vallat
2008-05-03Introduce vop_generic_bmap(); use it where applicable.Thordur I. Bjornsson
one thing of note, fifofs changes in that its bmap now sets the runp too 0, but that was an oversight in the old code. ok art@
2008-05-02implement rw_cas, "go for it" miod@Dale Rahn
2008-05-02Check for a disabled FPU before attempting to emulate the instruction.Miod Vallat
2008-05-02Grab the biglock unconditionnaly when system calls go through systrace;Miod Vallat
spotted by drahn
2008-05-02Implement rw_cas correctly, unlike previous revision where I was obviouslyMiod Vallat
on drugs; ok kettenis@
2008-05-02Invalidate and initialize the l2 on secondary processors, ok kettenis@Dale Rahn
2008-05-02Pass FORK_SHAREFILES flag in kthread_create; avoids allocating aBret Lambert
filedesc struct and associated fdcopy operation on kernel thread creation. Instead, kernel threads share and bump reference count on proc0's filedesc. ok thib@, "definitely makes sense" art@
2008-05-02plug potential mbuf leaks;Thordur I. Bjornsson
Parts from NetBSD; OK blambert@; tested by johan@, sthen@ and a few others.
2008-05-02Fix the label swithing and forwarding logic a bit. OK norby@Claudio Jeker
2008-05-02There is no need to endian convert the label after swapping it, all label opsClaudio Jeker
are done with network byte ordering now. OK norby@
2008-05-02Make the SO_TIMESTAMP sockopt work. When set, this allows the user toChris Kuethe
get a timestamp of when the datagram was accepted (by udp(4), for example) rather than having to take a timestamp with gettimeofday(2) when recv(2) returns - possibly several hundreds of microseconds later. May be of use to those interested in precision network timing schemes or QoS for media applications. Tested on alpha, amd64, i386 and sparc64. manpage suggestions from jmc, ok deraadt
2008-05-02Remove debug prints.Dale Rahn
2008-05-01correct attach messagesTheo de Raadt
2008-05-01Sync hpux_sendsig() behaviour with native sendsig(): let malloc fail andMiod Vallat
sigexit the process in this case.
2008-05-01regenMiod Vallat
2008-05-01The built-in frame buffer in models 362 and 382 actually comes in differentMiod Vallat
flavours. Add another frame buffer ID to recognize it, so that it gets skipped correctly. I am quite sure it has an SGC PROM in addition to the DIO PROM, but I don't have the hardware to check...
2008-05-01Don't forget to bus_space_unmap() after probing for a com chip.Miod Vallat
2008-05-01spl0() is not your friend, use splx() instead.Miod Vallat
2008-05-01Implement a nop IPI to signal other CPUs.Mark Kettenis
ok drahn@
2008-04-30regenBrad Smith
2008-04-30Add the id for the Marvell 88E3016 10/100 PHYBrad Smith
2008-04-30regenBrad Smith
2008-04-30Add E1000 PCI ids for another ICH9 variant, ICH10's and 82574L.Brad Smith
2008-04-30Spacing.Mark Kettenis
2008-04-30don't stop both play and record in envy_halt_input() ad envy_halt_output()Alexandre Ratchov
ok jakemsr@
2008-04-30Fix typo in last commit.Mark Kettenis