Commit Graph

19319 Commits

Author SHA1 Message Date
chuck f56be1680c add wdsc device 1996-04-18 18:07:58 +00:00
chuck a574a3a423 add PCC_ICLEAR 1996-04-18 18:07:08 +00:00
chuck 94b120dfa8 add a "delay" function.
XXX: assumes vme147 speed.   needs to be fixed and sync'd with DELAY.
	[will work with jason/hp300 to fix it properly]
1996-04-18 18:06:30 +00:00
chuck dbc3478277 establish a dk_establish() function. 1996-04-18 17:43:04 +00:00
mycroft 47bf863ac1 Make some of the flag handling clearer. No functional change. 1996-04-18 10:04:32 +00:00
mycroft aaed1c2fae Don't bother to enable alignment checking; nobody uses it and it interferes
with VM86 mode.
1996-04-18 09:58:13 +00:00
leo b3fadef7e0 Yet more prototyping and -Wall fixes. 1996-04-18 08:51:11 +00:00
mycroft 7a8c8f8a5c Turn off the alignment check flag when entering a signal handler. 1996-04-18 08:36:20 +00:00
cgd 7458364702 Implement the I/O read/write-multiple functions for chipsets
that use this file (APECS, LCA, and CIA).
1996-04-18 05:53:04 +00:00
cgd ff0a52ccd9 define bus_io_{read,write}_multi_{1,2,4,8} functions, which read/write
multiple values from a single I/O port in to/out of an array of values.
1996-04-18 05:47:29 +00:00
cgd 57da02bd77 don't include user-land headers compiling for libkern. (sync with libkern.) 1996-04-18 02:30:07 +00:00
cgd 4a134a0780 don't include user-land headers in libkern files when compiling for
the kernel.
1996-04-18 02:19:59 +00:00
cgd 1813cc71d0 don't include user-land headers in libkern files when compiling for
the kernel.  memset.c does not belong here.  it either belongs in
the MI libkern directory, or does not belong in libkern at all.
1996-04-18 02:19:07 +00:00
cgd 55afd9912f don't get rid of the -D_KERNEL in KERNCPPFLAGS 1996-04-18 02:14:48 +00:00
cgd 734132ad28 have copy-to-libkern copy strcat.S, not strcat.c 1996-04-18 01:54:16 +00:00
cgd a5dc646be0 use assembly version of strcat (copied down from libc) 1996-04-18 01:53:04 +00:00
cgd 720c148692 remove unnecessary header inclusion (machine/autoconf.h) and now-bogus comment.
also, trim spaces at ends of lines, etc.
1996-04-18 01:12:41 +00:00
cgd e27e15d0ac change NLE flag for IOASIC LANCE buffer to NLE_IOASIC, and add comments 1996-04-18 00:59:11 +00:00
cgd 03d386daa7 attach le with different attributes, depending on parent (i.e. tc or
ioasic), and use those attributes to pull in appropriate files.
le_ioasic now has needs-flag, but le doesn't; the flag is only necessary
on systems configured with IOASIC-attached LANCE chips.
1996-04-18 00:55:15 +00:00
cgd f8073d3675 restructure to take advantage of config's (relatively) new 'attach'
specifiers.  Many #ifdefs and much other nastiness removed.
1996-04-18 00:50:11 +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
cgd 67d51cc7b5 #define _verr* to verr*, to make these use prototypes correctly
and compile in the "no indr_references" case.
1996-04-17 23:05:44 +00:00
cgd eccf43e127 files copied from libc 1996-04-17 22:46:34 +00:00
cgd 44e8033a96 add assembler versions of the byte swap macros (only compile ntoh and
hton variants, not byte_swap variants, which are just included), and
copy them to libkern when appropriate.
1996-04-17 22:36:30 +00:00
cgd 17731baa0d fix copyrights 1996-04-17 22:22:32 +00:00
cgd 69ad2e587b ioasic doesn't need a flag, and correctly conditionalize inclusion of
machines' tc configuration files.
1996-04-17 22:08:29 +00:00
cgd 71c7924099 clean up clock handling: clock drivers are now seperate from the
chip-independent clock code.  'clock' has been renamed 'mcclock'  'clock'
has been renamed 'mcclock' (since it's a driver for that particular
clock, and since eventually there may be another clock chip driver),
and now attaches via seperate match/attach functions to both TC and ISA.
This removes a whole lot of #ifdefs...
1996-04-17 22:01:16 +00:00
cgd a5778ae63b print cpu names slightly differently (number first) 1996-04-17 21:50:56 +00:00
cgd 0b0a8bfe15 fix bug in pcivga_erasecols() that would cause garbage to be spit out.
other minor style cleanup.
1996-04-17 21:49:58 +00:00
cgd d727565526 fill in the tty window size information, so that standard terminal
entries can be used with weird displays.
1996-04-17 21:48:30 +00:00
jtc ec081115f9 Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.
1996-04-15 23:44:53 +00:00
thorpej b417cc19fe Make this compile again on a SPARC if NFSCLIENT is defined without
NFSSERVER.  (-Wall unused variable lossage)
1996-04-15 20:20:00 +00:00
cgd 60add3dea0 update for current state 1996-04-15 19:00:46 +00:00
cgd 1bd905d710 include <sys/termios.h> to make <dev/isa/comvar.h> happy, and set the
serial ('com') console bit size and parity to be "cs8 -parenb".
1996-04-15 18:58:20 +00:00
cgd a610e9d471 include <sys/termios.h> to make comvar.h happy 1996-04-15 18:55:23 +00:00
cgd b6549d493d define and export the global variable "comconscflag", the default tty
'cflag' for the console.  Normally set to TTYDEF_CFLAG, may be
overridden by machine-dependent console attachment code, as necessary.
(Alpha uses it to set cs8 -parenb.)  Files including comvar.h now
need to include <sys/termios.h>, because comconscflag is of type
tcflag_t.
1996-04-15 18:54:31 +00:00
cgd 4d54b9c567 check returns of inet_addr() and inet_network() against INADDR_NONE,
not -1, per the manual page.  on 64-bit systems like the alpha, -1 will
never equal (unsigned long)INADDR_NONE.
1996-04-15 18:27:05 +00:00
is a5ba4721eb Don't even check the not-yet-initialized mbuf pointers for being !=
NULL in the error exit code of arc_output(), else we see random data
and try to m_freem() it, panic'ing the machine.
1996-04-15 14:01:25 +00:00
mycroft e0afa4e4f9 Don't turn off the trace flag here; let sendsig() do it.
If in Linux emulation, send SIGSEGV for protection faults, rather than SIGBUS.
1996-04-15 00:20:32 +00:00
pk be19763acb Accept `-K' as equivalent to `-k' (except the ns32k which already handles -K). 1996-04-14 11:31:11 +00:00
jonathan 274c2bd80d Add a prototype for generic_intr_establish(), the bus-independent
pmax interrupt-establish function.
1996-04-14 00:58:21 +00:00
jonathan 28986d8126 Add cdev_decl() declarations for the "dtop", "fb" , and "rcons" drivers. 1996-04-14 00:56:59 +00:00
jonathan 4a04d76c65 Fix the definition of TC_PHYS_TO_UNCACHED(addr): make it change a mips
kernel addressed to uncached space.

Add prototypes for pmax-specific TC functions used in probing for
a framebuffer console.
1996-04-14 00:55:19 +00:00
scottr ff35ddbb2a Update makeoptions to include 881 support 1996-04-13 19:12:46 +00:00
abrown a0b7376b16 Add prototype and fix return type of blink() so "options BLINK" works
with -Wall -Werror
1996-04-13 17:40:03 +00:00
cgd 72b7f58800 pull in bsd.own.mk earlier, to get configuration variables.
if people define EXPORTABLE_SYSTEM, they REALLY don't want to do stuff
	in 'domestic'.  Pay attention to it when doing 'make build'.
in 'make build', install share/mk _first_, because include dirs may
	require new make templates.
in 'make build', install domestic includes after normal includes, so
	they can previously-installed includes if necessary.
Note that all of domestic/lib should be built in 'make build' during the
	library build stage.
1996-04-13 06:36:15 +00:00
cgd c3877d120c 'const struct' not 'struct const' 1996-04-13 05:35:39 +00:00
thorpej c238d2b94e Add the ability to override defaults in bsd.own.mk more easily, by
looking for "${MAKECONF}", or failing that, "/etc/mk.conf" and including
the first one it finds, if it exists.  From Chris Demetriou <cgd@netbsd.org>,
PR #1970.
1996-04-13 02:08:08 +00:00
thorpej 6779689463 Document that "<sys/sysctl.h>" isn't enough ... suggest including
<sys/param.h>, too.  Suggested my Kevin M. Lahey <kml@nas.nasa.gov>
in PR #1999.
1996-04-13 02:07:15 +00:00
cgd 7e4d04910d fix screw-up in the prototyping changes: print pointers with %p, NOT
by casting them to (unsigned int) then printing with %x.
1996-04-13 01:34:06 +00:00