summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-06-23Fix one-byte overflow in interrupt handling allocator. henning@, miod@ okAaron Campbell
2004-06-23pfr_commit_ktable calls functions that can result in the currentRyan Thomas McBride
ktable being destroyed, which makes it unsafe in a SLIST_FOREACH. Fix from Chris Pascoe
2004-06-23Remove useless debug code.Miod Vallat
2004-06-23Make AHD_DEBUG compile. ok krw@Marco Peereboom
2004-06-23Add atw(4), commented out for now.Todd C. Miller
2004-06-23enable ahd by default (still some work for marco and krw, but it noTheo de Raadt
longer locks at boot on mine)
2004-06-23Missed this in the atw(4) commit.Todd C. Miller
2004-06-23tabs vs spacesAaron Campbell
2004-06-23Remove some ifdef notyet symbols for non-existent floppy driver. art@ okAaron Campbell
2004-06-23When servicing 88110 exceptions, reset dsr and isr as fast as possible.Miod Vallat
While there, simplify badaddr() handling on 88110.
2004-06-23Since the NMI interrupt source on 88110 is, well, non maskable, it isMiod Vallat
possible to receive it during autoconf. In this case, do not enable _other_ interrupts while we are servicing it. Note that, on the MVME197, since we are using the BUG for console output during autoconf, it is still possible to abort the bootstrap and return to the BUG with the NMI/ABORT switch.
2004-06-23Hook cdbr and cdboot into the build (though nothing uses them yet).Tom Cosgrove
suggested by deraadt@ ok weingart@
2004-06-23Enter cdboot, a CD-specific second-stage bootrap.Tom Cosgrove
Testing krw@ and todd@, thanks. assistance, testing and ok weingart@
2004-06-23daa should be 0x27 and aaa 0x37Andreas Gunnarsson
ok deraadt@
2004-06-22atw(4) driver from NetBSD (dyoung). Based in part on a port byTodd C. Miller
Matthew Gream. Unfortunately, the adm8211 card I have with me does not work correctly with the driver yet so real testing will have to wait until I get my hands on an adm8211-based DWL-650 or something similar.
2004-06-22Replace a whole bunch of scary uses of strncpy() with strlcpy() andJean-Francois Brousseau
use compat-specific MAXNAMLEN values where appropriate ok millert@, pedro@
2004-06-22Remove... almost 10 years, and things have changed enough that thisTobias Weingartner
is more historic than anything else. If ya want it, find it in the Attic. ok tom@
2004-06-22Change of variable name from read to nread, to reduce differenceTom Cosgrove
from NetBSD version. ok weingart@
2004-06-22Enter cdbr, an El Torito no-emulation CD boot sector that fitsTom Cosgrove
comfortably in a single CD sector of 2,048. Not currently hooked into the build. Based on the FreeBSD equivalent by John Baldwin, jhb (at) FreeBSD (dot) org, who agreed to change to a 3-clause BSD licence. Thanks. assistance, testing and ok weingart@
2004-06-22During exception processing, we are not supposed to fault immediatelyMiod Vallat
after re-enabling the FPU (unless exception handling code is suffering from bugs, of course). Should this happen, invoke the error fault handler, but at least clear the exception state first, so that it gets a chance to run.
2004-06-22Import current NetBSD/FreeBSD 802.11 framework.Todd C. Miller
Based in part on a diff from Matthew Gream.
2004-06-22Add M_LINK0 for net80211; OK markus@ and mcbride@Todd C. Miller
2004-06-22Enable ahd interrupts and reset the channel before scanning the busKenneth R Westerback
for devices. This is how ahc is done too. Fixes probe hang on Theo's box with the 7902B chip. ok marco@
2004-06-22Use SIOCSIFGENERIC and SIOCGIFGENERIC for SIOCSWAVELAN and SIOCGWAVELANTodd C. Miller
instead of SIOCSIFASYNCMAP and SIOCGIFASYNCMAP. Needed for upcoming 802.11 framework. OK deraadt@
2004-06-22The Prism device driver's manual makes a distinction in naming ofTodd C. Miller
config comands and other types but we don't so remove the CNF_ from WI_RID_CNF_ENH_SECURITY and WI_RID_CNF_DBM_ADJUST for consistency and compat with Net and Free.
2004-06-22do not bcopy wrong stuff thereTheo de Raadt
2004-06-22Spacing. ok krw@Marco Peereboom
2004-06-22Remove all static functions. ok krw@Marco Peereboom
2004-06-22Change various macro and symbol names in order to have recognizable *100*Miod Vallat
and *110* names for processor-dependent code. No functional change.
2004-06-22Do not use db_printf() without a godd reason; while there, shrinken someMiod Vallat
messages.
2004-06-22If there is no CIS info the cardbus attach would print an extraTodd C. Miller
double quote; now it doesn't. OK openbsd!beck
2004-06-22support for rcc osb4 and csb5; tested on quad-zion and another box i haveMichael Shalayeff
2004-06-22make sure real/avail mem printfs do unsigned ariths; found by beck@Michael Shalayeff
2004-06-22Pull the plug on source-based routing until remaining bugs are eradicated.Cedric Berger
No need to reconfig kernel or rebuild userland stuff. requested deraadt@, help beck@
2004-06-22Turn m88k_protection() into a macro again, compensating for 88110Miod Vallat
quirks locally where necessary; pmap_enter() does most of the dirty work.
2004-06-22After 88110 exception processing, do not reset the in-frame [di][lp]arMiod Vallat
values, they won't be put back to registers anyways...
2004-06-22On 88110, simplify enip processing:Miod Vallat
- always fetch its value when building trapframe, it is faster than only doing it after checking if it will have a meaningful value. - don't bother setting it to a safe value if we change exip to a non-delayslot address.
2004-06-22Unbreak previous commit ok markus@Can Erkin Acar
2004-06-22Do not access [id][pl]ar registers from C code - we only care about theirMiod Vallat
values in trapframes.
2004-06-22Add a new "filter drop" flag to bpf and related ioclts.Can Erkin Acar
When enabled, it notifies the calling interface that the packet matches a bpf filter and should be dropped. ok henning@ markus@ frantzen@
2004-06-22Don't use time-based random number generationThorsten Lockert
ok millert@ deraadt@
2004-06-22Switch amd64 to __HAVE_CPUINFOArtur Grabowski
deraadt@ ok
2004-06-22Add additional retries in TUR to allow for tape devices to settle after a reset.Marco Peereboom
More informative failure message and silence "already open" message. ok krw@
2004-06-22Add additional retries in TUR to allow for tape devices to settle after a reset.Marco Peereboom
More informative failure message and silence "already open" message. ok krw@
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-06-21When in_ifinit fails and we've created a new address, clean it up beforeRyan Thomas McBride
returning. ok markus@
2004-06-21Put back the moving of schedstate_percpu into sched.h. This time exposeArtur Grabowski
it to userland so that i386 builds (other architectures didn't show the problem). deraadt@ ok
2004-06-21don't send UDP encapsulated packets w/o UDP header if encap is disabled; ok ho@Markus Friedl
2004-06-21don't accept SADB_X_EXT_UDPENCAP if encapsulation is disabled; ok ho@Markus Friedl
2004-06-21move the IFF_UP check to bpfwrite; ok canacar@Markus Friedl