Commit Graph

86233 Commits

Author SHA1 Message Date
thorpej 882fbe6d23 Need <stdlib.h> for getenv() protoype (to avoid warning on LP64).
XXX This patch probably isn't right, but I'm not interested in
detangling the GNU include file nightmare right now.
2001-10-05 18:48:01 +00:00
thorpej 28a8ddfdd3 Need <stdlib.h> for malloc() protoype (to avoid warning on LP64).
XXX This patch probably isn't right, but I'm not interested in
detangling the GNU include file nightmare right now.
2001-10-05 18:47:42 +00:00
thorpej 34dbd19c49 Delete this file; nothing includes it, and it is simply an (incomplete)
copy of <dev/pci/ppbreg.h> anyway.
2001-10-05 17:53:36 +00:00
thorpej 0d4d2293bb Minor tidying up of the HME driver attach:
- Print nicer-looking message.
- Use bus_space_subregion() when appropriate, rather than arithmetic
  on a bus_space_handle_t.
2001-10-05 17:49:43 +00:00
bjh21 e77a30307f Add <net/if_ieee1394.h>. 2001-10-05 16:26:01 +00:00
lukem bf66517e50 mtree update needed 2001-10-05 16:24:34 +00:00
lukem ff2aa3f8e8 Take advantage of mtree(8)'s recently added support for absolute paths.
Use a default "/set uname=root gname=wheel".
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	  342    1633  16272  special-relative
	  295     998  11971  special-absolute
2001-10-05 16:11:46 +00:00
lukem 877f022d22 Take advantage of mtree(8)'s recently added support for absolute paths.
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	3240    3847   43634  NetBSD.dist-relative
	 632     696   17166  NetBSD.dist-absolute
2001-10-05 16:09:38 +00:00
oster 035a63f6d3 More #if 0's bite the dust. 2001-10-05 15:41:23 +00:00
simonb 4471b94432 This Makefile.inc is used for building LKMS - add the standard MIPS
kernel compile flags as well as "-mlong-calls" so that calls from the
LKM in KSEG2 work to the kernel in KSEG0.

MIPS LKMs now build and can be loaded with the right Magick command line
args to modload(8).  Changes to modload coming...

Thanks to Chris Demetriou for pointing out the -mlong-calls gcc option
that had been staring me in the face all along.
2001-10-05 15:36:46 +00:00
oster 9d1d665dac Nuke some #if 0 stuff. 2001-10-05 15:33:12 +00:00
lukem 8b951d1f0d * Implement support for absolute paths in the specfile. An absolute path
is one that contains a `/' character that is not the first character.
  All parent directories referenced in the path must exist.
* Add copyright for all the work I've done.
* Document the history of various features added since 4.3-Reno.
2001-10-05 15:32:57 +00:00
simonb 6247b48489 Use ${MACHINE_CPU} instead of ${MACHINE_ARCH} in the machine-links
target; needed for MIPS and probably arm ports.
.include the full path name of machine/Makefile.inc so that this works
  if the machine-links target hasn't been run yet.
.include ${MACHINE_CPU}/include/Makefile.inc too.
2001-10-05 15:30:06 +00:00
pooka aa236892fb include <machine/bsd_openprom.h> to make this compile with RASTERCONSOLE 2001-10-05 15:28:28 +00:00
pooka 40ca91c19c prototype rominterpret() 2001-10-05 15:27:56 +00:00
simonb c63662a13e Multiple include protection. 2001-10-05 15:25:02 +00:00
simonb 1f8636506e Use ".-include" instead of the ".if exists(...) ..." dance. 2001-10-05 15:14:18 +00:00
pooka 527cf2d2b1 use kern.ldscript instead of kern.ldscript.be per new scheme 2001-10-05 14:57:18 +00:00
pooka 8d2fa0f7b6 add cast to u_long before cast to caddr_t make these compile on sparc64 2001-10-05 14:25:15 +00:00
mrg e5f5465184 avoid a memory leak 2001-10-05 13:32:23 +00:00
mrg a5bca05a81 add sio16 support. 2001-10-05 13:32:00 +00:00
lukem d8c78c600b - support "all" as a valid keyword for -k, -K and -R.
- parsekey(): support "all" as a keyword which returns a value with all bits
  set that pertain to a valid keyword.
- dump_nodes():
	- only print out a keyword if it's requested AND it's set in the node
	- UNAME falls back to UID if the user name can't be determined
	- GNAME falls back to GID if the group name can't be determined
- rework man page:
	- use Sy instead of Cm
	- use Pq, Dq, Ql, etc instead of ``...''
2001-10-05 13:14:56 +00:00
pooka 11d8d4dae9 add casts to debug printfs to make this compile on archs where
size_t is of type int
2001-10-05 12:55:24 +00:00
lukem acd40f8dd4 dump_nodes() fixes:
- in F_GID, print the gid not the uid
- support F_GNAME
2001-10-05 12:44:47 +00:00
bjh21 25d06cf184 Install net/ieee1394.h the same way we install all the other
link-layer-specific headers.
2001-10-05 12:37:39 +00:00
thorpej c3aaaae7a0 Provide an extern decl for strlen() all the time, not just if __alpha__
(so this builds on sparc64).  XXX Why we don't just use <string.h> is
beyond me...
2001-10-05 07:38:22 +00:00
thorpej 4e3296004c Need <string.h> for memset()/memcpy(). 2001-10-05 07:35:04 +00:00
thorpej 044932d6cc Need <string.h> when building the exception handler stuff on LP64
systems (like sparc64).
2001-10-05 07:04:04 +00:00
thorpej 1edcfbbee2 Fix a typo so that /sbin/sysctl compiles again. 2001-10-05 05:46:50 +00:00
simonb bc2ec5e553 Use a single ldscript instead of separate scripts for either endianness;
use command line parameters to ld(1) instead to set the endian format.
Clean up some endian decisions in mips/conf/Makefile.mips.
Wrap some long lines.
2001-10-05 05:03:27 +00:00
thorpej 02d031e24d Fix a typo in a comment. 2001-10-05 02:08:09 +00:00
itojun 84bfe490e4 make it at least compile (there's no /usr/include/net/if_ieee1394.h exist).
avoid overrun with snprintf.  be careful about snprintf return value.
2001-10-05 01:39:38 +00:00
jmc fd9e0c2d9c It's sys/properties.h. Fix typo 2001-10-05 01:24:05 +00:00
jmc 1f7d4add83 Change DBG= to DBG?= so it's controllable from the top level makefile easier. 2001-10-05 01:19:42 +00:00
jmc 0eadbed94d Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
2001-10-05 01:17:27 +00:00
lukem a938c1418c minor whitespace fix 2001-10-05 01:06:17 +00:00
lukem 4da22cb499 cleanup tags support;
- create a typedef struct slist_t to hold stuff in (avoid stringlist(3)
  because it's less portable)
- move the tag manipulate stuff into misc.c
- add matchtags(), which returns 0 if the node is explicitly excluded,
  or not included if an include list is given; or 1 otherwise
- in -D, change tags support from files-only to all-non-directories

(xxx; still considering implementing tags support for -c and !-D)
2001-10-05 01:03:24 +00:00
thorpej a5aff000fc Match the UMAX Astra 3400. 2001-10-05 00:31:06 +00:00
thorpej 7853ec7367 Regen; add UMAX Astra 3400 scanner. 2001-10-05 00:24:52 +00:00
thorpej 919f3bb120 Add UMAX Astra 3400 scanner. 2001-10-05 00:24:25 +00:00
hubertf c072a38d4c Add missing comma 2001-10-04 23:36:10 +00:00
bjh21 10237f4efc Use getnameinfo() to format AF_LINK addresses rather than doing it ourselves. 2001-10-04 23:12:22 +00:00
bjh21 5b533f601d Extend getnameinfo() to support AF_LINK sockaddrs. The intention is that
anything that wants to print a link-layer address should go through here,
rather than re-inventing the wheel.
2001-10-04 23:09:04 +00:00
agc c7f73c3331 "it's" is short for "it is".
The possessive pronoun is "its".
2001-10-04 19:44:48 +00:00
wiz 819c6ef3ac Whitespace fixes, formatting improvements, drop some unnecessary .Pp, sort
sections.
2001-10-04 19:39:41 +00:00
eeh 0b9ab32287 Add generic properties related files. 2001-10-04 19:08:07 +00:00
eeh b2803e7da0 Install sys/property.h 2001-10-04 19:06:29 +00:00
eeh 37b272cd02 Add kern/subr_prop.c. 2001-10-04 19:05:32 +00:00
eeh b8f825b33b Add sysctl for generic properties. 2001-10-04 19:03:59 +00:00
eeh ade7065ac5 Add M_PROP. 2001-10-04 19:00:44 +00:00