summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2008-04-30Initialize randseed to 1.Mark Kettenis
2008-04-30fix serial console handling on amd64. currently only glass console everDavid Gwynne
works, even if the boot loader is configured to use serial console. after the changes jsing and i made, the initial probe of the serial port was failing since the default base addres for the port is invalid. cos of that the kernel would only ever consider the glass console for use. this fixes it by reprobing the serial port if we get any config for it from the boot loader. advice on aesthetics from miod@ advice and ok from kettenis@
2008-04-30Drop all MPLS packets when MPLS is not enabled.Esben Norby
Discussed with claudio@ dlg@ laurent@ Remember to enable MPLS vith sysctl(8). sysctl -w net.mpls.enable=1 ok claudio@ dlg@ laurent@
2008-04-29Attempt to locate an ELF header and symbol table directly after the kernel.Joel Sing
If it exists assume that the boot loader has provided a pointer to the end of the symbol table. If it does not exist fall back to the previous behaviour and expect that pointers to the symbol table have been provided directly after the kernel. ok miod@
2008-04-29Change sis_chip_map() to use pci_find_device() as the originalJonathan Gray
NetBSD code it was based on did/does, now we have it. This makes detecting sis 96x work properly without having to do silly things like adding host bridges in the list. Of course we wouldn't be in this mess in the first place if sis designed their chips properly instead of reusing the same pci id. Add 964/965 devices while here. Tested by todd@ on a machine with 965.
2008-04-29enable km(4); ok deraadtConstantine A. Murenin
2008-04-29New km(4) driver for AMD Family 10h Processors (Phenom, Opteron Barcelona etc);Constantine A. Murenin
ok deraadt
2008-04-29remove noise, (debug print).Dale Rahn