Commit Graph

90657 Commits

Author SHA1 Message Date
jdolecek 1511af3e96 Resurrect the 'sc->sc_sbdsp.sc_dev.dv_cfdata = match' in pasprobe(),
it's needed for sbdsp.c:sbdsp_probe().
2002-01-11 17:45:10 +00:00
pk 9050f03f0a Use KERNSRCDIR in path to `osrelease.sh'. 2002-01-11 17:42:57 +00:00
jdolecek 3c9a8d7d19 Fix fallout from previous - the 'sc->sc_dev.dv_cfdata = match' needs
to be retained, it's referenced in sbdsp.c:sbdsp_probe().
2002-01-11 17:33:01 +00:00
kleink 0f83741fa0 Determine the 'native' endianness using _BYTE_ORDER from
<machine/endian_machdep.h>.

The previous method of wrapping a definition of _POSIX_SOURCE around the
inclusion of other headers to reduce namespace pollution had the
side-effect of not all required identifiers being defined when included
thereafter by the application itself (due to multiple-inclusion protection),
and is not blessed by that standard.
2002-01-11 12:11:09 +00:00
itojun dad921a24e daemon(3) has to be called prior to file descriptor initialization. 2002-01-11 05:33:22 +00:00
itojun da4f6b8247 daemon(3) should be used prior to file descriptor setups. 2002-01-11 05:18:11 +00:00
itojun 5f38ec918c daemon(3) has to be called prior to file descriptor setups. 2002-01-11 04:35:52 +00:00
itojun 4a1ad619af daemon(3) has to be called before opening file descriptors.
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
uwe 438dfde149 OBP 2.30 in JS1 is romvec version 3, so g/c PROM_OBP_V2 entry.
Add bare-bones "8042" (pckbc) node and rename bogus zs nodes out of
the way to prevent them from matching.
2002-01-11 01:44:32 +00:00
wiz a4397af56d Add /usr/include/fs/smbfs. 2002-01-11 01:36:28 +00:00
christos 03dae382df - KNF... Add NetBSD copyright, pass lint, getopt, modernize, blah. 2002-01-10 21:43:10 +00:00
briggs e44b2beeac Add OPIOCFINDDEVICE to match dev/ofw/openfirmio.[ch]. 2002-01-10 20:38:11 +00:00
martin 7b6f872d11 Add, #ifdef SPPP_IF_SUPPORT, special case treatment for sys/net/if_spppsubr.c
based interfaces. Note: all other interface types work the same as before,
and no names are hardcoded.

When a if_spppsubr.c based interface is marked IFF_UP, but has not yet
reached phase NETWORK (i.e. it didn't connect yet or authentication has not
yet completed) do not call the ip-up script for it on the initial pass
over all IFF_UP interfaces.

This fixes a race condition on startup when ip-up/ip-down are statefull
and need to be called pairwise (for example if ip-up adds and ip-down
removes a default route).
2002-01-10 20:21:50 +00:00
martin 0f93714245 Pass the remote address (or broadcast addres) to the up/down scripts as
well. This is very usefull for setting up the right routes ;-)

Thanks to Bjoern Labitzke for pointing out this missing feature.
2002-01-10 19:38:51 +00:00
tv 5457974230 Move host-mkdep to its own directory. Create and install it before
everything else.  Now it's possible for the target mkdep to build and
install like "normal" host-tools do; should remove the function decl
warnings reported by greywolf@starwolf.com on current-users.
2002-01-10 17:04:20 +00:00
mrg f6a5bde398 build sunlabel as a host tool (not enabled in tools/Makefile yet) 2002-01-10 16:35:05 +00:00
mrg 4ef0e6e1a3 - add a -h option
- kill warnings
- use getmaxpartitions()

XXX: consider renaming options to more standard names and use getopt(3).
2002-01-10 16:26:01 +00:00
mrg 3b989ef166 makefile for sunlabel. 2002-01-10 16:24:41 +00:00
mrg 2c57f36327 der Mouse's sunlabel.doc 2002-01-10 16:15:37 +00:00
briggs 03bd9a6a52 In OPIOCNEXTPROP: if we are at the last property, set the buffer length to
0 instead of setting it to an uninitialized value (len).
2002-01-10 16:04:43 +00:00
pooka b3714941a4 few entries more 2002-01-10 15:31:04 +00:00
agc cfa115fedf Explain a bit more fully the collating sequence which pkg_info(1) uses when
comparing package versions strings.
2002-01-10 10:46:28 +00:00
haya 1e4fff76f0 Bug fix: correct chattering suppressor. Card insertion will be
detected properly by this fix.
2002-01-10 10:30:08 +00:00
someya 02501f9aa4 remove a unnecessary message print 2002-01-10 10:17:55 +00:00
wdk c09d9a0d03 We now need ufs/ufs/dinode.h for ufs/ffs/fs.h
XXX:  All this work for BBSIZE and SBSIZE.  Sigh.

Add missing $NetBSD$ Header to file
2002-01-10 06:56:18 +00:00
briggs 8a2ab2e5f8 Use nextsibling() and firstchild() instead of (unset) promvec. 2002-01-10 06:21:53 +00:00
lukem 96119ca83f - act more like lib/libc/gen/setprogname.c, and store the basename of
the argument to setprogname()
- knf
2002-01-10 05:35:42 +00:00
lukem bf7e120361 setprogname(argv[0]) 2002-01-10 05:31:07 +00:00
lukem 328430b633 revert previous, and reenable tools/makefs now that it works on
netbsd-current and netbsd-1-5
2002-01-10 05:17:20 +00:00
lukem 3e8ee2e17f Symlink ./ufs to ${.CURDIR}/../../sys/ufs, and add -I. to HOST_CPPFLAGS.
This means that <ufs/*/*.h> come from ../../sys/ufs, but other
<sys/*> header files still come from the host system's /usr/include.

This slightly ugly hack to the Makefile means that makefs compiles on
-current and 1.5.x machines (and other systems), without requiring
major code rewrites in sys/ufs/ffs to allow sharing and without
requiring duplication of sys/ufs/ffs* under usr.sbin/makefs.
2002-01-10 05:03:45 +00:00
lukem c6934ce7ad regen from configure.ac 1.3 for <inttypes.h> change 2002-01-10 04:32:18 +00:00
lukem fe4a1b3537 look for <inttypes.h> and #include if found (for uint*_t) 2002-01-10 04:31:15 +00:00
enami fbb7401965 Cope with rev. 1.16 of frame.h; trapframe now starts at if_gs in intrframe.
This fixes PR#14040.
2002-01-10 03:46:17 +00:00
lukem 466f245289 Convert some variables that were signed ints before my update to 64 bit sizes
from uint64_t to int64_t.  Fixes [bin/15187]
2002-01-10 03:25:12 +00:00
lukem 25ca00a979 Only pull in <sys/systm.h> #ifdef _KERNEL, since it's a kernel only header.
In the ! _KERNEL case, provide own prototype for panic() instead.
2002-01-09 23:51:00 +00:00
thorpej f68aaee236 - A few adjustments for cross-building (address an XXX here later).
- Create an OMAGIC a.out and objcopy it to a flat binary image; the
  Shark OpenFirmware can load the plain binary image, and we will
  need to employ this strategy when we switch to ELF.
2002-01-09 23:47:04 +00:00
thorpej 3c2bddcbc9 Fixup cache I$ clean code. 2002-01-09 23:18:10 +00:00
wiz 6220b41f40 Grammar fix, and drop a trailing comma in SEE ALSO section. 2002-01-09 23:10:19 +00:00
augustss 43aeee0fe8 Split out some code so you can have cardbus ehci without pci. 2002-01-09 22:56:22 +00:00
thorpej 63852061b6 Add dkctl. 2002-01-09 22:33:53 +00:00
thorpej 94fb6ebed1 Descend into dkctl. 2002-01-09 22:31:57 +00:00
thorpej fcc3de9c40 dkctl(8) -- a program to manupulate disks. It currently supports
the disk cache-related ioctls.
2002-01-09 22:30:14 +00:00
kleink 52544dc3f4 Improve wording a bit; from John Heasley in PR lib/15194. 2002-01-09 22:17:34 +00:00
deberg 4d16c47eac descend into netsmb and fs 2002-01-09 21:51:53 +00:00
leo bbad0a5d5e Checkpointing my work on the mach64 (with help from Dave Berger). There is
still one major show stopper here. The characters are nearly to dim to read.
This is weird since the same DAC settings as on the other cards are used.
2002-01-09 21:33:49 +00:00
leo 2112cf1085 Fix PCI interrupt allocation on the Milan.
Note that this _seems_ to work. It can't be really tested before my board
is upgraded.
2002-01-09 21:19:14 +00:00
deberg b4fb0f417f comment out includes for now 2002-01-09 21:10:04 +00:00
deberg 4687da33a2 descend into smbfs 2002-01-09 21:07:54 +00:00
deberg 408ba63df0 smbfs makefile, INCLUDES commented out for now 2002-01-09 21:06:53 +00:00
reinoud b8eb6adfa1 Make the MACHINE_ARCH overrideable by build.sh 2002-01-09 20:54:40 +00:00