Commit Graph

113864 Commits

Author SHA1 Message Date
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
thorpej 93b30f2130 Add <machine/elf_machdep.h>. 2003-06-23 13:00:21 +00:00
thorpej 5fb00ee32f Basic ELF definitions for ns32k. No relocations yet. 2003-06-23 12:59:27 +00:00
martin 4858ba3d93 Protect kernel opt_*.h include by #ifdef _KERNEL_OPT 2003-06-23 12:56:07 +00:00
agc c0db2196e7 Add NetBSD RCS Ids. 2003-06-23 12:15:00 +00:00
martin 79b00c490a Disable QUOTA for ntfs - it's broken. 2003-06-23 11:53:47 +00:00
agc c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
agc 6377cac711 Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
agc d1c3d8e4e7 Add comments and descriptions for the following system packages:
base-magic-share
	base-ppp-lkm
	base-rescue-root
	base-termcap-share
	base-vfs-lkm
	comp-c-shlib
	comp-fortran-shlib
2003-06-23 11:19:44 +00:00
martin d505b18964 Make sure to include opt_foo.h if a defflag option FOO is used. 2003-06-23 11:00:59 +00:00
uwe 439470c9f0 Registers _REG_Ri defines are numbered backwards, so when we fill
r4-r7 with arguments, use the correct *minus* i to compute the i-th
register index.
2003-06-23 10:45:20 +00:00
dyoung fe803a4b84 Split base-reference-share into base-magic-share (containing magic
files for file(1)), base-termcap-share (containing terminal
capabilities), and base-reference-share (containing area codes,
airports, et cetera).
2003-06-23 09:28:52 +00:00
dyoung b8eacf60d4 Optimization: invoke make fewer times.
Fix typo: osreleasese -> osreleases.

Write @pkgdep directives, drawing package dependencies from
distrib/sets/deps.

When regpkg is finished, now it removes the packing list temporary
file from /tmp.
2003-06-23 09:25:34 +00:00
dyoung 4b48743aa1 Stop duplication of makeflist, regpkg, makeplist code. Use routine
in sets.subr, instead.
2003-06-23 09:20:55 +00:00
dyoung 2a44e65d9c Don't duplicate code for listing sets used by makeplist, regpkg.
Instead, use the routine in sets.subr.
2003-06-23 09:18:45 +00:00
dyoung 48171b2e00 Fix typo: osreleasese -> osreleases.
Optimizations: do not re-invoke make(1) unnecessarily, it takes a
full second to bootstrap it on my on my anemic PC. Also, use
xargs/find instead of awk/system()/shell to classify each package
path as a file or directory.

For consistency, adopt similar variables names as makeflist uses.

Use the set-list routines in sets.subr instead of duplicating code.
2003-06-23 09:17:04 +00:00
chris 93632a0574 Fix for port-arm/21962. Rather than fixing the #ifndef spl0, I removed
the test as spl0 is actually a macro for splx(0). The code now calls
splx(0)

(note building with the #ifdef fixed, caused the build to fail on a
GENERIC acorn32 kernel.)
2003-06-23 09:05:22 +00:00
dyoung 4d23e6d82c For System Packages, two new utilities, a subroutine library, and
a new list:

sets.subr -- The set-listing code that is common to makeplist,
	     makeflist, and regpkg has moved here.

syspkgdeps -- Compute naive dependencies for system packages based
	      on directory containment. I.e., if package A contains
	      path /p/q, and package B contains path /p, then B is
	      considered a dependency of A. As Jim Wise remarks,
	      this is not quite right: system-package dependencies
	      should indicate a functional dependency. Nevertheless,
	      these naive dependencies protect us from orphaning
	      files when pkg_delete'ing system packages.

culldeps -- Helper for syspkgdeps. Removes redundant dependencies
	    from a dependencies table.  Essentially does the opposite
	    of a transitive closure on a dependencies table: if
	    the table contains A depends-on B, B depends-on C, and
	    A depends-on C, then A depends-on C is removed because
	    it can be derived from the prior two dependencies.

deps -- Dependencies computed by syspkgdeps.
2003-06-23 09:02:31 +00:00
simonb c888cf2bde Removed "extended precision" definitions left over from when this was
originally copied from i386/include/ieee.h.

Fixes PR port-pc532/21960 from Jason Thorpe.
2003-06-23 06:59:12 +00:00
jdc c81dad62ca Add curses keyname, noqiflush and qiflush manual pages. 2003-06-20 07:06:48 +00:00
jdc 094b2f993c Increment libcurses minor to 9 for addition of keyname(), noqiflush()
and qiflush().
2003-06-20 07:05:39 +00:00
jdc 11f267a000 Add noqiflush() and qiflush()
Fixes PR lib/20037.
2003-06-20 06:58:53 +00:00
jdc c521d02fce Add keyname().
Fixes PR lib/20033.
Allow SMALL to be defined, to reduce the size of the library.
2003-06-20 06:56:29 +00:00
christos 5879a5dcf6 PR/21936: Todd Vierling: compat/linux: ioctl 'r' misinterpreted 2003-06-20 03:54:35 +00:00
itojun bea29d3ab7 CVS_RSH default value change 2003-06-20 03:29:55 +00:00
itojun 9053ad0b31 make the defafult value of CVS_RSH to "ssh". 2003-06-20 03:28:56 +00:00
nakayama 64dc0184cc s/options\t/options \t/ 2003-06-20 03:15:05 +00:00
hamajima b3120a356c Fix wdc_obio_dma_init() confused WDC_DMA_LBA48 with WDC_DMA_READ.
This was tested by jtb@netbsd.org.
2003-06-19 22:36:06 +00:00
bouyer 5b96ee4889 Make sure we pass the current state of the driver to scsipi_async_event(),
not the request from the mid-layer.
Fix kern/21893 from Anthony Mallet.
2003-06-19 20:11:14 +00:00
jschauma ce16073c02 Add ABI and API. 2003-06-19 18:23:59 +00:00
mbw 5775eabd29 iBook (14.1 LCD 32 VRAM) is reported to work by David Friggens
PowerBook G4 (12-inch) and PowerBook G4 (17-inch) supported thanks to
  HAMAJIMA Katsuomi
2003-06-19 18:20:02 +00:00
christos 96759472a4 provide a definition for __attribute__ 2003-06-19 16:19:42 +00:00
christos 9b8791db6c From michael@moria.de:
Fix realloc case where we could be running out of space if too many matches.
2003-06-19 16:04:57 +00:00
tsutsui cc8f388df1 Make sure to call c_nec_eisa_cons_init() also on RISCserver 2200
so that its Cirrus VGA console is properly initialized.
Fixes problem reported by Bob Meader.
2003-06-19 16:00:19 +00:00
christos 839ca00b3c From michael@moria.de:
- use __attribute__((__unused__)) in arguments where appropriate.
- some int -> size_t and char * to const char * conversions.
2003-06-19 15:55:05 +00:00
christos fc24d74cc3 PR/21645: Mishka: Localized comments don't work with indent. 2003-06-19 15:45:22 +00:00
yamt b509ec99bb explicitly note MALLOC-free and malloc-FREE is ok. 2003-06-19 15:11:49 +00:00
martin e0b0d04377 Ooops, I didn't intend to enable kgdb by default here.
(Since the related changes are not yet commited, it doesn't even compile)
2003-06-19 14:39:52 +00:00
yamt 4a8cf36294 note when VOP_GETPAGES updates number of pages pointed by 'count'. 2003-06-19 14:36:14 +00:00
agc 7ebe0b8c4b Make this compile. 2003-06-19 14:08:54 +00:00
christos 1f975a33c3 fix fallout from previous ansification (thanks to Juergen Hannken-Illjes) 2003-06-19 11:16:13 +00:00
bouyer d6242d4312 We can't keep a reference to the value returned by svc_getrpccaller().
Instead malloc() some memory and copy the sockaddr returned there.
Fix a bug where after a blocked lock gets granted, the grant message would
be sent to the wrong machine (or possibly to a completely bogus address).

While there, add a NULL check for the return value of another malloc().
2003-06-19 11:13:06 +00:00
msaitoh 6e3f4b59e8 regard as the card is removed if one of CCD1# and CCD2# is deasserted.
This fixes the porblem that the cbb misses a remove event.
2003-06-19 10:48:58 +00:00
kanaoka d25a3f14d9 - Remove the unused polling code.
- Clean up the code a bit.
2003-06-19 10:13:14 +00:00
agc 7b2c1a6c22 Firstly, let's give credit where credit is due - the idea came from uwe.
Add the ability to pkg_info(1) and pkg_delete(1) to take a directory
name for the name of the package, so that shell-completion can help
when finding out information or deleting packages.
2003-06-19 08:54:29 +00:00
itojun b6625c38a4 avoid panic in malloc() under extremely low memory situation.
OpenBSD problem report 2235, 2236, 2640.  fix by Otto Moerbeek.
2003-06-19 06:25:41 +00:00
rh f51b948f11 Add and enable monitoring mode for Lucent cards. 2003-06-19 06:16:36 +00:00
jrf 285b019fd8 This addresses PR21693. Under certain conditions, su -m will fail because
the pointer to /etc/shells is pointing to the second entry. This change
resets the pointer before looping through the file again. FreeBSD does
this as well. Commit approved by christos and thanks to Geoff Adams for
catching and reporting it.
2003-06-18 21:02:03 +00:00
christos 2658386875 Ansify. 2003-06-18 20:51:00 +00:00
pk db543774bf pmap_bootstrap4_4c():
* enable caching of message buffer & cpuinfo
	* it ought to be no longer necessary to not write-protect the kernel
	  text in order to support KGDB
2003-06-18 14:24:55 +00:00