summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-01-14sync w/ netbsd: splzs -> spl4 from splhigh. Remove bogus DEBUG.briggs
1996-01-14Add hooks for custom audio players. This is the original untouchedNiklas Hallqvist
kernel diffs from Tim Newsham <newsham@hookomo.aloha.net> found in his well-known audio LKM kit.
1996-01-14netbsd -> bsdNiklas Hallqvist
1996-01-14Redid formatting with mandoc macros. Added an "ERRORS" section.Niklas Hallqvist
1996-01-14The sun mmu is very broken, and we all can thank crashme fordavem
helping me find this bug. On execution of an atomic load/store instruction the chip will only say that a read fault is happening, we then load up a readonly translation to the accessed page, and we get the fault again still showing a read-fault. We end up faulting in a loop forever and the process appears to be completely stuck. The algorithm to fix this problem goes like this. If we get a non-text fault, and the fault type is VM_PROT_READ, and the SER_PROT bit is set in the syncronous fault error register, we take a peek at the instruction at pc. If this instruction is indeed an ldstub or a swap variant we or in VM_PROT_WRITE to the fault type.
1996-01-14Fix typoNiklas Hallqvist
1996-01-13Don't issue a linked command to check for a device's support of them.briggs
Instead, check the inquiry_flag. Also allow enabling and disabling linked command issuance on target-by-target basis.
1996-01-13sync with sparc:chuck
- move disk_attach() to before reading the disk label as per Jason. otherwise we are reading into an unallocated buffer (oops!)
1996-01-13 - call mapiodev() with sizeof(struct xdc/xyc) rather than ra_len (which ischuck
zero since xdcmatch/xycmatch no longer sets it). [if you call mapiodev() with a zero size it will reuse the KVA it returns, swiping the device out from under you!] - make xdc/xyc->iopbase point in the kernels DVMA space rather than at the normal malloc'd KVA. this isn't compatable with sun4m [doesn't have a kernel DVMA space] and will need to be changed later (XXX). - move disk_attach() to before reading the disk label as per Jason. otherwise we are reading into an unallocated buffer (oops!)
1996-01-13have mapdev() panic if size == 0 to be safe (catches config errors)chuck
1996-01-12we no longer need to add in the offset to the mapped VA to get the correctchuck
device address (bus_tmp, bus_map, and mapiodev now do this for us). also, we handle all our mappings, so don't have obio.c do any for us (i.e. don't set ra->ra_len in xycmatch). nuke uneeded variable in match function.
1996-01-12dmamatch never added in the offset for the dma registers to the VA,chuck
and thus probed the wrong address on the 4/300 (but it worked because it was probing the esp0 registers!). now that bus_tmp() adds the offset in for us [as of obio 1.15] i discoved that a byte access to the dma registers is not allowed. so, i've change probeget to use a word access.
1996-01-12improved handling of mapping of devices who's registers do not reside onchuck
page boundaries: - change bus_tmp() to include the offset from the start of page in the returned KVA [rather than forcing each driver to add it back in individually] - changed bus_map() to include the offset from the start of page in the the returned value if a mapping is found in the PROM's KVA area - clarified a few comments
1996-01-12change mapdev() so that it includes the offset from the start of thechuck
page in the virtual address it returns.
1996-01-12remove DEBUGTheo de Raadt
1996-01-12from netbsd:Theo de Raadt
Kludge around a case where a flaky HP-IB disk might be slow to respond to the identification request in rdmatch(). Similar in spirit to a patch from Jason Downs (written eons ago), but limited to the broken device we're trying to reach. My patch tested (and fixed :-) by Herb Peyerl.
1996-01-12from netbsd; Fix declaration of hilqfree(), from <hag@wizardz.com>,Theo de Raadt
PR #1918.
1996-01-12Correct some typo's, add some virtual consoles and the tun devicesTheo de Raadt
1996-01-12from netbsd; Correct test for ECHONL (from der Mouse; PR#1922).Theo de Raadt
1996-01-12Completed incomplete edit and corrected historyNiklas Hallqvist
1996-01-12no luns on Tandberg 3600 w/ fake Archive Viper emulation roms; fromTheo de Raadt
raeburn@raeburn.org; netbsd pr#1934
1996-01-12from netbsd;Theo de Raadt
New generic disk framework. Highlights: New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
1996-01-12update to new cdio.hTheo de Raadt
1996-01-12from netbsd; Document hint file v.2Theo de Raadt
1996-01-12from netbsd; Note search mechanismTheo de Raadt
1996-01-12from netbsd:Theo de Raadt
Make dlopen() search for libraries if given a name of the form `lib<name>.so[.xx[.yy]]' (per Erik M. Theisen; PR#1763; patch from PR used in simplified form). Deal with v.2 hint files (hint srch dirs not yet used).
1996-01-12from netbsd:Theo de Raadt
Create v.2 hint files. Note: don't bother to understand v.1 files..
1996-01-12Remove CCB from hash list when it gets unmapped, not the first time looked up.hannken
1996-01-12clean betterTheo de Raadt
1996-01-12SIGBUS is an alignment fault. SIGSEGV is an access violationTheo de Raadt
1996-01-12proto rfork()Theo de Raadt
1996-01-12from netbsdTheo de Raadt
1996-01-12disable ddb, enable vndTheo de Raadt
1996-01-11Remove obsolete GCCNiklas Hallqvist
1996-01-11Remove obsolete GCCNiklas Hallqvist
1996-01-11Remove obsolete GCCNiklas Hallqvist
1996-01-11Remove obsolete GCCNiklas Hallqvist
1996-01-11from leo; Fix the same typo in all files. Yanking is soooo beautiful....Theo de Raadt
1996-01-11from netbsd; VM86 support, by John Kohl, touched up a bit by charlesTheo de Raadt
1996-01-11from netbsd; Fix typo and make some enum. lists more compactTheo de Raadt
(James Jegers; PR#592).
1996-01-11from netbsd; Fetch `-p' documentation from a previous version ofTheo de Raadt
the man page
1996-01-11from netbsd; fix small documentation bug -- we have no bftp(1)Theo de Raadt
1996-01-11from netbsd; sync with tzdata96aTheo de Raadt
1996-01-11from netbsd; new pagesTheo de Raadt
1996-01-11sync with netbsdTheo de Raadt
1996-01-11from netbsd; sync with tzcode96aTheo de Raadt
1996-01-11from netbsd:Theo de Raadt
Define LD_HINTS_VERSION_2: - no longer hash on minor version number in hints file. - add list of ldconfig(8) search directories.
1996-01-11login names starting with "t" were trashed; original bug report byTheo de Raadt
<tommy@mdc.tijp.ti.com>. from soda@sra.co.jp; netbsd pr#1926
1996-01-10merge errorTheo de Raadt
1996-01-10Save inquiry flags in sc_link so low-level drivers can use it.briggs