Commit Graph

18380 Commits

Author SHA1 Message Date
cgd
1da97d57a9 add handling of lpt/lpa (interruptless) parallel printer port device
nodes (character, major 31).  when making 'all', make lpa0 and lpt0.
1996-03-11 19:21:37 +00:00
cgd
ba91a74bb6 mostly convert to use interfaces provided by <machine/bus.h>. (For now,
assumes that pci_map_mem/pci_map_io provide interfaces which utilitize
bus_{io,mem}_handle_t's, or types which are compatible.  This works on the
i386, and will change eventually anyway.)
1996-03-11 18:57:04 +00:00
phil
4de8058449 Added / in cmp path for /usr/include/g++/stl. (To match libg++2netbsd and
be correct.)
1996-03-11 17:22:42 +00:00
cgd
046633ffe1 Move INT32, U_INT32, TIMEOUT definitions to ncr_reg.h, and add definitions
for U_INT8, INT16, U_INT16 definitions.  Convert structs and
    definitions in ncr_reg.h (e.g. ncrcmd, the chip register layout, etc.)
    to use these definitions.
Add INB_OFF, INL_OFF, and OUTL_OFF macros to access specified offsets into
    I/O or memory space.  Convert register dumps (etc.), and cache snoop
    test to use these new macros, so that nothing accesses the device
    I/O or memory space directly.  (Register dumps now come from I/O space
    if NCR_IOMAPPED.  They used to bogusly use memory space.)
Add a new relocation type for script entries, RELOC_KVAR.  Allow scripts
    access to mono_time.tv_sec, mono_time, and ncr_cache via this
    mechanism, and convert scripts to use it.  An ncrcmd is only 32 bits
    wide, and KVAs may be > 32 bits wide (e.g. on Alpha), leading to
    linker problems.  This is a safer way to do this anyway; relocation is
    more deterministic this way, and doesn't rely on KVAs not looking like
    other relocation types.
Panic if an unmatched relocation other than 'zero' is specified.  That's
    now a script bug.  (This used to be used to convert KVAs of kernel
    variables referenced in the script to PCI bus physical addresses,
    and that is now handled by RELOC_KVAR relocations.)
Figure out and print the model of chip.
1996-03-11 16:13:57 +00:00
cgd
6f00e88e73 mostly convert to use interfaces provided by <machine/bus.h>. (For now,
assumes that pci_map_mem/pci_map_io provide interfaces which utilitize
bus_{io,mem}_handle_t's, or types which are compatible.  This works on the
i386, and will change eventually anyway.)
1996-03-11 15:07:06 +00:00
christos
57cad0d107 Jonathan Stone's fixes:
main.c:	Remove double include of <sys/resource.h>; if MACHINE is defined, use
	that instead of uname.
Makefile: Add util.c.
1996-03-11 13:45:31 +00:00
phil
ebca468319 Update for -DGCC_NAME=... in Makefile for g++. 1996-03-11 06:53:27 +00:00
phil
cf6c269b55 Change so g++ doesn't concat junk to the front of /usr/bin/cc for
the name of gcc.  (Closes pr 2188, different fix)
1996-03-11 06:48:33 +00:00
phil
180e9e53f6 Back out last change now that libstdc++ now exists. 1996-03-11 06:35:33 +00:00
scottr
e494b8793f Back out previous change. 1996-03-11 05:46:51 +00:00
scottr
c31eae0510 Back out previous change. 1996-03-11 05:31:59 +00:00
scottr
53877395c4 XXX - stop-gap fix for use of memset() if we're compiling a kernel; it's
not included in the kernel programming interface.
1996-03-11 05:12:28 +00:00
thorpej
e311fddd2a Fix installation of header files. 1996-03-11 04:58:22 +00:00
thorpej
e142a2195f Provide a memset() for the i386 (assembly version), and move memset.c
out into the libkern proper in case other ports want to use it.
i386 kernels with COMPAT_LINUX should compile now.
1996-03-11 03:19:37 +00:00
thorpej
a039d62135 s/ALLSRC/IMPSRC/ so that we don't try to compile header files. From
Gary D. Duzan <gary@wheel.tiac.net>.
1996-03-11 02:38:44 +00:00
leo
2273338717 Add the include files and the atari kernel support for new format panic
dumps.
1996-03-10 21:54:44 +00:00
briggs
9e087f0d26 Pass 2nd arg to longjmp--even though it's ignored. 1996-03-10 19:55:22 +00:00
briggs
679b7627d0 Use label_t instead of jmp_buf and don't include setjmp.h. 1996-03-10 19:54:41 +00:00
ragge
5005458ad0 Removed a couple of "ifdef vax" that caused rstatd not to work. 1996-03-10 15:24:20 +00:00
leo
7da79507e9 Take the type of the attached monitor into account when selecting a
display-mode. Includes hack to make things work on non-VGA monitors.
1996-03-10 11:42:35 +00:00
cgd
c1f27b8603 update for new multiport board->com interface; 'flags 1' doesn't have
meaning any more.
1996-03-10 09:14:28 +00:00
cgd
0a6a29c792 update for new commulti->com attach interface. com ports at 'ast'
multiport cards no longer need 'flags 1', because the "don't set IEN"
requirement is communicated by the commulti_attach_args.  com.c no longer
recognizes 'flags 1' at all.
1996-03-10 09:03:13 +00:00
cgd
85286bff2f convert these to use new <machine/bus.h> interfaces. This involved
substantial reworking of the multi-port drivers, as they need to frob
bits in the io-port spaces of their children.  As a result, the
commulti->com attachment interface is substantially more complex.
(This may be fixable in the future by making some of the code common,
but as long as io-port allocation checking is planned, it's necessary.)
1996-03-10 09:01:20 +00:00
thorpej
ab5476b242 Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM).  This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place.  (XXX)
1996-03-10 05:45:38 +00:00
ragge
f01a5dd8cc We lost declaration of kernel_pmap_store somewhere, put it back. 1996-03-09 23:39:51 +00:00
ragge
3a07f941ba Check on which SBI we are frobbing, not always 0. 1996-03-09 23:38:34 +00:00
ragge
24b2b310ae Add support for ktracing syscalls. 1996-03-09 23:37:20 +00:00
cgd
5bfb840114 Fix copyright year 1996-03-09 23:37:14 +00:00
ragge
4ee5419b8a Panic on SBI fault. 1996-03-09 23:36:40 +00:00
ragge
c7282ed159 Change NTU to NHT. 1996-03-09 23:36:09 +00:00
ghudson
4e0c8707f7 To enable people to mount DOS partitions on disks with no NetBSD
partition, add the MBR partitions to the default (faked-up)
disklabel used by NetBSD if it can't find a real one.  If the
type of the MBR partition is one of the common DOS ones, mark the
partition as having an MSDOS filesystem.
1996-03-09 20:52:54 +00:00
scottr
c9f7e94a5c Remove hack to work around <sys/dirent.h> DIRSIZ conflict 1996-03-09 19:42:41 +00:00
mark
852758c603 Include <sys/device.h> for rd_match_hook(). 1996-03-09 17:26:01 +00:00
mark
fe9da42a4a Removed include of <setjmp.h>
db_recover is now declared as label_t * instead of jmpbuf *
1996-03-09 17:22:12 +00:00
mark
a1ceaeba99 Disable interrupts when switching to UND32 mode to get the
UND32 mode stack pointer during a context save.
1996-03-09 17:15:46 +00:00
thorpej
f350b1aa9d Fill in the missing pieces and make the NetBSD version of Matt Thomas's
DEFPA FDDI driver actually compile and link.
1996-03-09 03:46:21 +00:00
cgd
85288c6a61 Include comvar.h, for comprobe1() prototype and for commulti_attach_args.
Remove multiple identical definitions for the arg struct used by multiport
boards' to attach slave com ports.
1996-03-09 01:03:59 +00:00
cgd
a7c6dfe1cd include comvar.h for comprobe1() prototype 1996-03-09 01:02:08 +00:00
cgd
56edbfc4f9 define the common structure used to attach 'com' units as slaves to
multiport cards.  prototype comprobe1(), which is used by multiport card
drivers.
1996-03-09 01:01:33 +00:00
phil
14b81cb599 Removing old libg++. 1996-03-09 00:36:34 +00:00
phil
84a13b4cb6 Removal of old libg++. 1996-03-09 00:28:43 +00:00
phil
03548c36c3 Deleting old libg++. 1996-03-09 00:25:38 +00:00
phil
30eeb22555 Fix typo in comment. 1996-03-09 00:20:44 +00:00
phil
b55390258b Conflict resolution for 2.7.1 import. 1996-03-09 00:18:56 +00:00
cgd
645d83b763 minor cleanup. mostly: use COM_NPORTS and a new (driver-specific) NSLAVES
macro where appropriate.  No point in hard-coding numbers in multiple places.
At the very least, this makes the drivers slightly easier to diff/understand.
1996-03-09 00:09:04 +00:00
phil
357744cd54 Import of libg++-2.7.1. 1996-03-09 00:00:51 +00:00
cgd
2c11ad408c convert to use I/O mapping/access macros in <machine/bus.h>.
Mostly mechanical changes, except for probe/attach, which have
to map (and, in the case of probe, unmap) the I/O space that the
chip will use.
1996-03-08 22:17:58 +00:00
cgd
fe4037750a convert to use I/O mapping/access macros in <machine/bus.h>.
Mostly mechanical changes, except for probe/attach, which have
to map (and, in the case of probe, unmap) the I/O space that the board
will use.
1996-03-08 22:03:26 +00:00
cgd
ea21ff117e rather than doing something hairy in the print routine, to the
'logically right' thing: define a mainbus_attach_args union which is
all of the subdevices' bus attach args, together with the part that's
shared by all of them, a const char * (the bus name).
1996-03-08 21:55:47 +00:00
leo
77e4824146 Just prototyping. 1996-03-08 21:54:53 +00:00