summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-05-11Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@Pedro Martelletto
2007-05-10Alpha needs (will need) MUTEX_OLDIPL as well.Artur Grabowski
2007-05-10Don't zero out the cpu_info in cpu_attach. We've already set a field inArtur Grabowski
it (curproc) and it's allocated from zeroed memory anyway. deraadt@ ok and test.
2007-05-10evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵Theo de Raadt
years ago; ok miod
2007-05-10Don't skip channels that don't have the WDCF_IRQ_WAIT flag set. ApparentlyMark Kettenis
some chips generate interrupts we don't expect, but we need to ack those. Fixes the cdrom hangs on various sparc64 systems. tested by some, ok deraadt@
2007-05-10The road to supporting bigendian openpic starts.Dale Rahn
2007-05-10also print where (primary) swap and dumps are; ok miodTheo de Raadt
2007-05-10remove and hide code that isn't used.David Gwynne
found by deraadt@
2007-05-09remove 'struct sr_attach_args' as it's now elsewhere with softraid definedTodd T. Fries
ok marco@
2007-05-09Remove an obsolete comment which guesses about a register write an neverMarcus Glocker
was used anyway. OK claudio@
2007-05-09diable -> disableMiod Vallat
2007-05-09Change trap() into a void function, and restore pc from the trapframe insteadMiod Vallat
of having trap() return it. This makes trap() consistent with other platforms, and its code smaller.
2007-05-09In cpu_fork(), enable all known interrupt sources in cop0 sr/ic, so thatMiod Vallat
kthreads start with interrupts enabled.
2007-05-09Comment out ``generic'' interrupt routines, which are not used at the moment.Miod Vallat
2007-05-09When entering the idle loop, do a real spl0 (processing soft interrupts)Miod Vallat
instead of simply lowering cpl to zero.
2007-05-09delete unused functions. typical vendor garbage driver..; ok kettenisTheo de Raadt
2007-05-09unused apis, very dangerous: getbinuptime() getbintime(), ok artTheo de Raadt
2007-05-09Revert rev 1.116. For some reason this caused the device to do DMA from/toMark Kettenis
random addresses in some cases, causing watchdog timeouts. tested by many; ok deraadt@
2007-05-09unused function; ok pedroTheo de Raadt
2007-05-09remove the internal wrapper functions for ieee80211_mhz2ieee andReyk Floeter
ieee80211_ieee2mhz which also removes some dead code. figured out by deraadt@
2007-05-09evcnt_attach() is no longer used; ok miodTheo de Raadt
2007-05-09totally unused legacy variable; ok claudioTheo de Raadt
2007-05-09unused variableTheo de Raadt
2007-05-09tcp_iss usage is ifdef TCP_COMPAT_42, so the variable decl can be tooTheo de Raadt
2007-05-09Truncate the addresses for the deadbeef values so that they don't needArtur Grabowski
to be page aligned and can contain more "noise". From mickey art@ ok
2007-05-09only supply ldt_alloc() and ldt_free() if USER_LDTTheo de Raadt
2007-05-09lockmgr_printinfo() calls only if DIAGNOSTICTheo de Raadt
2007-05-09kinfo_vgetfailed has not been used for > 8 yearsTheo de Raadt
2007-05-08Assemble disk from user supplied metadata.Marco Peereboom
Verify all metada to make sure it is correct; this includes sorting the chunks Add 2 new functions for printing uuid and metadata.
2007-05-08block ALL packets with rthdr0 in pf_test6(). We already do thisRyan Thomas McBride
in ip6_input(), but pf_test6() is called from bridge code as well. ok dhartmei@ henning@ deraadt@ claudio@
2007-05-08Routing headers are dangerous. Deal with them the same way as IPv4 options:Ryan Thomas McBride
drop all packets with routing headers unless the matching rule explicitly specifies 'allow-opts'. ok dhartmei@ henning@ deraadt@ claudio@
2007-05-08KILL all IPv6 packets with the rthdr0 extension header or multiple routingRyan Thomas McBride
headers, regardless of forwarding path. It's the sane thing to do. ip6_check_rthdr0() function from claudio@ ok deraadt@ claudio@ henning@
2007-05-08backout while the amd64 puc situation is rethoughtTheo de Raadt
2007-05-08non-static inline functions waste spaceTheo de Raadt
2007-05-08#if 0 a function that is only ever called in #if 0Theo de Raadt
2007-05-08move com_activate() to where it belongsTheo de Raadt
2007-05-082nd one found: If you really wish to make a function __inline (which willTheo de Raadt
be called once), please also make it static so that the compiler does not generate a 2nd one to export to outside callers! that is a stupid waste of space.
2007-05-08wildcard is nowhere used anymore. Figured out by deraadt@Claudio Jeker
2007-05-08Make use of struct wsmouse_calibcoords and add ioctl supportRobert Nagy
for getting and passing calibration values. Move the scale struct to uts_softc so that each device can have it's own values instead of using the global one. ok miod@
2007-05-08repair com/fxp foo_detach() stuff, the hardest part being the pccom messTheo de Raadt
2007-05-08add swapxy, resx and resy to struct wsmouse_calibcoords,Robert Nagy
so we can store these values here; ok miod@
2007-05-08put more foo_detach() routines where they are usedTheo de Raadt
2007-05-08process_s87_to_xmm() is only needed if PTRACETheo de Raadt
2007-05-08struct mount *rootfs is never usedTheo de Raadt
2007-05-08lockmgr_printinfo() is only called from #ifdef DIAGNOSTIC positions, so ↵Theo de Raadt
#ifdef DIAGNOSTIC it too
2007-05-08#ifdef notdef functions which are only called in #ifdef notdef contextsTheo de Raadt
2007-05-08cpu_init() is only used for the MP case (for now)Theo de Raadt
2007-05-08all scsidebug_*-using code is under #ifdef, so the variables themselves ↵Theo de Raadt
should be too
2007-05-08places they get called are #ifdef notdef, so the code itself can be tooTheo de Raadt
2007-05-08rl_detach() is only used for cardbus caseTheo de Raadt