mycroft
1a8d283a97
Move elink_reset() into a separate file, and add a generic elink_idseq().
1994-02-16 17:59:11 +00:00
hpeyerl
19219795da
Add common reset function so if_ep and if_ie don't reset each-other.
...
(this is a 3commonality)
1994-02-16 07:26:50 +00:00
mycroft
6cbf9be7da
Use cpufunc.h only where (currently) needed.
1993-12-20 09:11:38 +00:00
mycroft
f2a0b4b335
Canonicalize all #includes, and add pio.h where appropriate.
1993-12-20 09:05:17 +00:00
mycroft
ea13c12adc
From magnum branch:
...
Remove Jolitz's netisr kluge. Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
cgd
ab12bacae0
note that use of splnone() is prolly bogus; splnone() itself is bogus,
...
so it's use is. 8-)
1993-11-05 23:18:04 +00:00
brezak
62164fe535
Add find_isadev() and have sysbeep() use common defines.
1993-08-28 00:13:00 +00:00
cgd
e5ea45d312
there are some devices out there which use... NO I/O PORTS!
1993-08-08 09:54:23 +00:00
mycroft
0daaa4f16c
Make splimp = splnet | spltty, and get rid of SLIP kluge for splnet and
...
spltty.
1993-07-11 14:03:51 +00:00
cgd
bab148ba4e
delete inclusion of rlist.h again. grr.
1993-07-07 06:52:39 +00:00
deraadt
ceec40c98f
clean up code for timeout/untimeout/wakeup prototypes.
1993-07-06 06:06:26 +00:00
cgd
2d53469109
get rid of extraneous inclusion of rlist.h
1993-07-06 00:31:52 +00:00
andrew
f7dd4be020
Updated comments.
1993-06-30 04:13:34 +00:00
andrew
51ac6a0997
ANSIfications.
1993-06-27 06:27:29 +00:00
deraadt
277c73694e
print "maddr 0xd0000 msize 65536" as "maddr 0xd0000-0xdffff" instead.
1993-06-20 07:24:53 +00:00
mycroft
5a2b8d1abb
Fix typo.
1993-06-16 02:59:42 +00:00
mycroft
94df11ad63
Make sysbeep() take a frequency, not a timer count, and add constants
...
BEEP_FREQ and BEEP_TIME which can be overridden in the config file.
1993-06-16 02:57:17 +00:00
mycroft
528edf6037
Move definitions of TIMER_FREQ to timerreg.h, and fix value of CF for DELAY().
1993-06-15 21:37:14 +00:00
mycroft
930a773dce
Clean up beep code a miniscule amount, add interrupt protection, and
...
make multiple beeps generate a continuous tone.
1993-06-15 20:34:54 +00:00
cgd
8a05b36058
incorporate Bruce Evans' interrupt changes, as hacked by Rod grimes,
...
for patchkit patch 158. it appears to work well.
1993-06-06 04:14:01 +00:00
deraadt
2adecf84f6
1. It is now possible to build a kernel that does not have a pc0 device driver.
...
2. "press any key to reboot" reads the key from the console.
3. wddump() still needs a non-blocking getc() routine (or flush)
1993-05-28 09:10:52 +00:00
cgd
30177b538f
add rcsids to everything and clean up headers
1993-05-22 07:56:12 +00:00
deraadt
e439c311cd
Whoops. One more 0x0ffff to expunge..
1993-05-11 04:15:22 +00:00
deraadt
4c40e74463
1. id_irq is a u_short
...
2. "irq ?" sets it to (u_short)-1
3. "irq #" sets it to (1<<#)
4. not specifying an interrupt sets it to 0.
Until someone else comes up with a better scheme, that's the way it is.
If you have a driver that turns the interrupt off, set it to ZERO.
If, after calling XXprobe(), id_irq is still (u_short)-1, that is the same
as if probe() failed.
1993-05-11 04:06:23 +00:00
deraadt
ca0db18897
multiple master controllers would probe tthe first one N times instead of
...
once each. never mind not worth worrying about what i;m talking about.
1993-05-08 00:50:10 +00:00
cgd
ca1b23d6dd
no irq == -1, or, actually, 0x0ffff (f*ing unsigned short...).
...
this would break devices w/o interrupts (like lpa).
1993-05-07 10:38:04 +00:00
deraadt
a0bcb17e60
support for making dev->id_alive be set, this is for iostat to
...
find disk devices. wee bit of a kludge. sub-device attach()
routines must now return 1 for successful attach(), 0 otherwise.
Other bsd's do this too..
1993-05-04 08:27:29 +00:00
cgd
70754f5c6b
fixed loopback == nuke problem.
...
This fix is probably not optimal, but it works.
1993-05-04 02:37:27 +00:00
deraadt
6bee5294bc
ioconf changes, see previous cvs's that dumped core
1993-04-15 07:57:50 +00:00
cgd
2bbe287e49
make printing of i/o addresses a bit prettier, and fix off-by-one error.
1993-04-09 16:24:26 +00:00
cgd
cf15785585
from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):
...
This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called. It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names. It also cleans up and enables
the logging of stray interrupts. The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it. This is the number
one cause of stray IRQ7's and IRQ15's.
Additional device probe information is now printed. This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.
1993-04-09 13:43:40 +00:00
deraadt
b9bd4b25de
dmesg output at boottime now tries to print out information as
...
soon as it is available. The output looks much more like Sunos.
1993-04-08 08:26:46 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00