Commit Graph

626 Commits

Author SHA1 Message Date
cgd
352d972c94 locc() is unused. Remove it from the machine-independent kernel interface. 1996-06-10 15:33:33 +00:00
thorpej
156eaa5f84 Add "needs-count" to the `ac' driver so an ac.h file gets generated. 1996-06-10 06:48:44 +00:00
thorpej
a323ce7b09 Add the "Python 28849" to the list of `supported' tape drives as a PYTHON
type.
1996-06-10 06:39:31 +00:00
thorpej
bcab59cd3c Remove the old-style disk instrumentation support. Nothing uses it
anymore.
1996-06-06 16:17:41 +00:00
thorpej
e9e80a6043 Add calls to tty_attach() and tty_detach() where appropriate. 1996-06-06 15:36:06 +00:00
hpeyerl
3e834c5e86 Update to reflect reality (such as it is). 1996-05-26 23:45:42 +00:00
mrg
1af2be6068 document PORTAL 1996-05-20 18:15:11 +00:00
thorpej
f969979dea Back most (not all) of the previous delay-related changes now that
delay is calibrated properly.
1996-05-18 23:56:59 +00:00
thorpej
62f7f3ad57 Implement a real delay calibration routine, adapted from Chuck Cranor's
mvme68k delay calibration algorithm.
1996-05-18 23:30:09 +00:00
christos
52d3532adb - remove cpu_exec_aout_prep_oldzmagic and use exec_aout_prep_oldzmagic 1996-05-18 15:58:07 +00:00
thorpej
a8c7148dd2 XXX set up alldevs and allevents so that vmstat -i will work. 1996-05-18 01:39:57 +00:00
thorpej
63f4ec3e41 Put the vector table back in the text segment; putting it in the data
segment breaks doboot() on my 319 (but worked on my 380...bleh!)
1996-05-18 00:52:53 +00:00
thorpej
03fc26050d Put the vector table _after_ the temp stack. 1996-05-17 16:32:28 +00:00
thorpej
503413590e Changes for the new delay() function. 1996-05-17 15:38:08 +00:00
thorpej
91cb72e7ea remove the now unused MHz constants, add a declaration for vectab[],
and document some globals.
1996-05-17 15:37:07 +00:00
thorpej
a5d6cd3a32 Move the vector table to the data segment. 1996-05-17 15:33:52 +00:00
thorpej
d845719070 Add a new function, hp300_calibrate_delay(), which sets the delay constant
based on a model's known CPU speed.  cpuspeed value is now in MHz
instead of (MHz / 8).
1996-05-17 15:32:26 +00:00
thorpej
33e1caaf99 Couple of changes:
- New delay() function, modeled after sun3/mvme68k delay,
	  calibrated with a model's known cpu speed.
	- Use the defined constants for machineid and ectype
	  when determining what kind of machine we have, rather
	  than their expanded equivalents, for clarity.
	- Move the vector table to the data segment so that it
	  can be patched at run-time.
1996-05-17 15:27:26 +00:00
thorpej
bbc04e2011 Define the machineid and ectype constants. 1996-05-17 15:20:55 +00:00
thorpej
b20981c51d Remove cpuspeed from here. 1996-05-17 15:19:02 +00:00
thorpej
3ad552e74b Adjust for new DELAY() ... s/DELAY(1)/DELAY(5)/ and lengthen some
timeouts.
1996-05-17 15:15:29 +00:00
thorpej
c3fc839395 Change "DELAY(1)" to "DELAY(5)". This is basically equivalent to how
the old implementation of DELAY() behaved with small values.
1996-05-17 15:12:30 +00:00
thorpej
f708ced3a3 Adjust for the new values of cpuspeed. 1996-05-17 15:09:39 +00:00
thorpej
be71c11843 Add 2 missing ";"s ... they weren't noticed before because of the
old implementation of DELAY().
1996-05-17 15:08:13 +00:00
thorpej
7d279a797f Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-16 23:53:10 +00:00
thorpej
31526bc8e8 These haven't been kept up to date... 1996-05-15 23:50:30 +00:00
mycroft
540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
scottr
6bd0d2c7eb Prototyping-related changes I missed the last time, from Thorsten
Frueauf.  Closes PR 2378.
1996-05-09 21:26:08 +00:00
scottr
a7b314774d doboot() takes no arguments (from Thorsten Frueauf) 1996-05-09 21:17:04 +00:00
thorpej
2de85463e2 Correct typos, PR #2382. 1996-05-09 21:11:47 +00:00
thorpej
7ebfa3c7fc Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:57:58 +00:00
thorpej
090191b3aa Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:56:51 +00:00
scottr
d84817d322 Fix prototypes of cpu_set_kpc() and pagemove(); closes PR 2367. 1996-05-02 20:49:20 +00:00
thorpej
270d48fd22 Add "void" return type to consinit(). 1996-04-27 00:39:59 +00:00
thorpej
8591bb3346 Prototype doboot() and give it the __noreturn__ attribute, so that
machdep.c will compile.
1996-04-27 00:38:44 +00:00
christos
78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
cgd
d7d306aeb7 change LANCE copy & zero functions' names to start with amd7990_, and
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
thorpej
14bffff70d Add a stub config_init() function, so kernel will link. Temporary, until
we use new config.
1996-04-07 18:21:08 +00:00
christos
ab0e60a42f fdopen -> filedescopen 1996-03-14 21:20:59 +00:00
scottr
4d30db274f Back out previous change. 1996-03-13 23:42:45 +00:00
scottr
eb473e57bd Add second argument to longjmp() call. 1996-03-13 19:04:04 +00:00
cgd
18ec26aa21 add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
execpt without quotes.  meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
thorpej
b2c3f54207 Fix logic errors in new console probe code that caused framebuffers
outside of "internal i/o" space to not even have a chance at console-hood.
Fix tested by Thorsten Frueauf <frueauf@ira.uka.de>, and offered with
my sincerest apologies that the bug ever existed in the first place.
1996-03-03 16:48:52 +00:00
thorpej
570949e0e4 Catch up with ITE data structure changes. 1996-03-03 04:23:33 +00:00
scottr
9e8b6a032a Don't try to make dependencies for SFILES if it isn't defined. 1996-03-01 17:03:17 +00:00
cgd
3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
thorpej
ee8a2c002f Copyright assigned to The NetBSD Foundation. 1996-02-28 01:01:17 +00:00
scottr
f08c9ffa5a make this compile again, since CONUNIT is no longer defined for us.
per Jason.
1996-02-27 22:11:44 +00:00
thorpej
0adab4d779 Avoid accidentally lowering a devices console priority. 1996-02-26 23:40:29 +00:00
thorpej
cf93780656 Adjust for the new console code; CONSCODE is now a kernel option, not
a dca-specific constant.  For now, hardwire standalone DCA console
at select code 9 (which is what the old constant expanded to).  Really
should make the way the bootblock console is probed look just like how
the kernel console is probed.
1996-02-26 21:51:25 +00:00