Commit Graph

45192 Commits

Author SHA1 Message Date
drochner
1f23f4e047 add poll entry for (optional add-on) i4b raw device 1998-11-07 17:28:57 +00:00
ragge
b6158fa5e3 EGCS fixes. Implement htons as a C macro instead of asm; generates as
good code as the asm implementation _and_ can be optimized.
1998-11-07 17:22:58 +00:00
he
6fbd9e0504 Fix construction of the 'sys' tarball so that compile directories
really will not be included, but compile/CVS and compile/.keep_me will
still be (if present).
1998-11-07 16:59:13 +00:00
drochner
f213d2f96a use common code for extended capability (power management)
let "match" return 2 (> ep_pci)
1998-11-07 16:53:19 +00:00
drochner
bbe9d71415 add support for "extended capabilities" (new in PCI spec 2.2) 1998-11-07 16:47:22 +00:00
erh
14b0d1f276 Add a checkver target to bsd.lib.mk. This target executes the checkver script to find installed shared libraries with major/minor versions that are too big. The realinstall target now depends upon this target so this check is done whenever a library is installed. The check may be disabled by setting NOCHECKVER. 1998-11-07 09:40:35 +00:00
erh
7c323c9fa8 Add scripts to find any installed libraries whose version is greater than the source version (major, minor). "checkver" actually does this check. "checkvers" find all libraries (actually all shlib_version files) below the current directory and runs the checkver script for each one. 1998-11-07 09:36:54 +00:00
jonathan
7574d9a952 Do DESTDIR support for crtbegin/crtend on all ELF ports (adds mips). 1998-11-07 07:10:19 +00:00
mrg
7c0d69c3ab minor KNF nits 1998-11-07 05:50:19 +00:00
jonathan
cdd3abe7a9 Pull MBR-scanning code and NetbSD-partition-finding into a separate
function, rathe than duplicating in readdisklabel() and writedisklabel().

XXX should really  make MBR code MI, and share with other MBR-using ports
(e.g., arc, arm32 MBR label-scanning code).
1998-11-07 04:39:03 +00:00
jonathan
a581370fce apply previous change to writedisklabel() as well as readdisklabel(). 1998-11-07 01:30:57 +00:00
jonathan
45aa097296 Change COMPAT_386BSD_MBRPART: don't break on match, so that if there's more
than one DOSTYP_386BSD partition, we pick the last one, not the first.
That's what our install tools do/did with multiple ID-165 partitions.
1998-11-07 01:08:00 +00:00
christos
889ce7db6e - full prototypes
- more conservative printf
- char -> unsigned char
1998-11-06 23:31:09 +00:00
christos
a3cf33f0fd make printf format more conservative 1998-11-06 23:21:38 +00:00
christos
3f852e73e1 we don't need sys/ucred.h 1998-11-06 23:21:01 +00:00
christos
c3203395bd char -> unsigned char 1998-11-06 23:06:38 +00:00
christos
051c69de86 disambiguate if/else block 1998-11-06 23:06:30 +00:00
cgd
515148e0a3 cast arg to dbtob to u_quad_t; consisent, and fixed size unnecessary 1998-11-06 23:03:06 +00:00
cgd
af24dfc946 argument to dbtob needs to be cast to u_quad_t here to avoid shift lossage 1998-11-06 23:02:12 +00:00
christos
e1178b155e - include <termios.h> for winsize
- char -> unsigned char
1998-11-06 22:59:12 +00:00
christos
bd5b624c4c char -> unsigned char 1998-11-06 22:57:55 +00:00
christos
9b6b9cac77 - factor out common code
- char -> unsigned char
1998-11-06 22:56:38 +00:00
christos
ac193186ef char -> unsigned char 1998-11-06 22:49:30 +00:00
christos
b239b35fe2 char -> unsigned char
rindex -> strrchr
1998-11-06 22:40:13 +00:00
christos
1a67b18deb char -> unsigned char 1998-11-06 22:29:44 +00:00
christos
2de3ba714e - Don't understand why use union wait pstat.w_status...
Change it to just int status...
- char -> unsigned char
1998-11-06 22:28:15 +00:00
christos
b62bb45812 - prototype tgetstr()
- add decls for *SE, *SO, *SV for svr4
- initscr() should not be compared with ERR, but NULL, since it returns
  a window pointer.
1998-11-06 22:14:58 +00:00
tron
63b722221a Sync with "GENERIC". 1998-11-06 20:29:52 +00:00
is
23c04fa375 Add color debug code for DraCos. 1998-11-06 20:08:20 +00:00
christos
dbc0627f1d use waitpid instead of wait3 1998-11-06 20:05:43 +00:00
christos
6eb7ceb840 char -> unsigned char 1998-11-06 20:03:08 +00:00
christos
501608c08c bcpy->memcpy, and don't trash memory if
hp->h_length is > sizeof(struct sockaddr_in);
1998-11-06 20:00:07 +00:00
christos
81c93f4c32 - synchronize with the domestic version
- setupterm -> setup_term
- char -> unsigned char
1998-11-06 19:54:18 +00:00
christos
d5838591db complete prototype for fts_compar. 1998-11-06 19:44:52 +00:00
christos
5ba0b28730 qsort cast. 1998-11-06 19:44:03 +00:00
christos
ccbb2cb989 port to svr4. 1998-11-06 19:43:23 +00:00
christos
d826507120 s/LALIGN/BTLALIGN 1998-11-06 19:42:43 +00:00
christos
363ecde5ca char -> unsigned char 1998-11-06 19:20:12 +00:00
christos
7f1ed758a3 char -> unsigned char 1998-11-06 16:52:42 +00:00
is
f12b956e84 Allow changing of formerly empty passwords. 1998-11-06 13:07:18 +00:00
mrg
32e9822211 add a prototype for getpgid (missing for years!) 1998-11-06 05:58:09 +00:00
mhitch
b2b8303852 C++ support changes:
Generate .ctors and .dtors sections which contain the contructor and
deconstructor function addresses.

Use .init and .fini sections to call the functions to call those functions.

Include the crtbegin and crtend object files which perform those calls.
1998-11-06 04:33:43 +00:00
mhitch
010e90e0ca Cursor position offsets need different values for an sfb board with an
alternate clock that does lower resolution.
1998-11-06 03:53:40 +00:00
mhitch
a7f70a5fbc Fix problem when using non-DEC CDROMS with blocksize other than 512 bytes.
This got lost when disk geometry processing was updated.

Also move the CDROM check from rzread() to rzwrite() - it doesn't make
much sense to report a read-only filesystem error when trying to read a
CDROM.
1998-11-06 01:59:25 +00:00
jonathan
fb020850a0 Increase compiled-in default bpf buffer size from 4096 to 8192.
(the libpcap API provides no way to resize the inkernel buffe,r and
4096 is too small to capture maximum-sized FDDI frames.)
1998-11-05 22:50:15 +00:00
kenh
e58cf6b359 Add definitions for the ATA power management commands 1998-11-05 22:49:09 +00:00
erh
bda913305b Make sure the interpreter string is long enough to check against. 1998-11-05 22:19:25 +00:00
christos
b34c5dd583 minor performance improvement. 1998-11-05 21:26:03 +00:00
ragge
fbed93d50d EGCS fixes. 1998-11-05 19:48:04 +00:00
ragge
bee167375f EGCS fixes + TU81 fix. 1998-11-05 19:47:20 +00:00