Commit Graph

113824 Commits

Author SHA1 Message Date
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
agc db2a7d9a58 Bump the version number for the base-fstab-examples package. 2003-06-18 12:40:55 +00:00
agc 18a83afa36 Put the example fstab files into their own system package in the misc
category (since they're listed in the misc/mi set list), rather than
a system package under base.

Add a comment and a description for the new system package.
2003-06-18 12:39:03 +00:00
bsh 7aeb49a6b4 don't map PCI device's I/O ports at address 0.
This fixed a problem when 3com 3C905 is a only PCI card on SMDK2800.
2003-06-18 10:56:35 +00:00
agc 1802ef39d2 Clean up editing of the original regpkg script in the previous.
+ use "uname -r" if osrelease.sh isn't available

+ if SYSPKG_DATES is set in the environment, use the date for the
  version.  For some reason, this is controversial, so the default is
  to use NetBSD kernel versions.  Re-instate the code to calculate the
  date, but only use it if the date cannot be gleaned from the RCS Ids
  of the constituent parts.

+ re-work the versions file, since it was committed in an incomplete
  state - there were version numbers without package names in there.
  Instead, get the version number by exception - i.e. assume it's "0"
  unless specified in the versions file.  This means less independent
  maintenance when a kernel version number is bumped, and less
  duplication of work (since any new system packages will now have the
  correct version number by default)

+ lose the section which duplicated the calculation of "tiny version"
  which was never used (and which didn't work correctly)
2003-06-18 10:53:52 +00:00
bsh dd27d238b6 MD part for Intel Lubbock (DBPXA250).
built-in UART and on-board ethernet are supported for now.
LCD, PCMCIA, CF, PS/2, AC97 will follow shortly.
2003-06-18 10:51:15 +00:00
bsh 1928d3ed36 enable BTUART 2003-06-18 09:40:06 +00:00
martin dbe43da717 Add missing COMPAT_ options. 2003-06-18 09:38:56 +00:00
pk f707a950e3 Remove out-dated MP comment. 2003-06-18 09:34:22 +00:00
drochner 1a03e79900 don't #include <sys/dkstat.h> where it is (appearently) unused 2003-06-18 08:58:34 +00:00
oki 6873b338d6 Add support in-kernel PPPoE server.
This may work with one PPPoE session.
If you want to use it, #define PPPOE_SERVER in somewhere,
or add options PPPOE_SERVER in kernel config file.

This is experimental code, and good start point for future development.
2003-06-18 08:12:51 +00:00
itojun faef0b82e9 install host route for p2p interface even if there's connected net route
by broadcast interface.  PR 21903.
2003-06-18 06:42:34 +00:00
tshiozak cf368599b3 add NetBSD I18N support status / TODO report. 2003-06-18 05:32:17 +00:00
itojun c0ee9a3789 need "a". from jmc@openbsd 2003-06-18 05:06:15 +00:00
bsh 4b87783212 in cominit(), turn on UUE bit in IER register if it is PXA2x0's
built-in UART.
2003-06-18 04:35:23 +00:00
atatat d2f781064e If the file being stuffed into the config file string for inclusion in
the kernel is missing the newline at the end of the file, the string
doesn't get closed properly, resulting in a message from the compiler
about a missing #endif.  It's somewhat misleading, so config will now
point it out and compensate for the missing newline.

Addresses PR kern/21920: including kernel config fails in some cases.
2003-06-18 04:19:49 +00:00
bsh 73635ffe34 use PMAP_DOMAIN_KERNEL and DOMAIN_CLIENT instead of magic numbers. 2003-06-18 03:17:49 +00:00
bsh d8193564ca protect with #ifndef _LOCORE so that assembler codes can share
definitions in this file such as PMAP_DOMAIN_KERNEL.
2003-06-18 02:58:09 +00:00
itojun 81e3f9cb3f sync manpage with previous change (addrs# deprecdated) 2003-06-18 02:08:10 +00:00
martin f546abe798 Catch up with Nathan's changes to other archs. 2003-06-17 23:18:48 +00:00
wiz 835c24a56a Fix typo. 2003-06-17 23:05:35 +00:00
bsh ddb2467dd1 make this compile again:
+ we don't have struct pxa2x0_softc anymore.
   + call pxa2x0_clkman_config() to provide clock to LCDC block.
2003-06-17 09:43:14 +00:00
bsh 3c87cee70f white space nit. 2003-06-17 09:32:38 +00:00
itojun 8412a300dc relax addrs#x config parameter. should address PR 21872 2003-06-17 08:08:48 +00:00
simonb 33b48b0823 Micro-optimisation- move the "pgs == NULL" check from the previous
change to immediately after the malloc call.  This can't fail in
the non-malloc case.

Reviewd by YAMAMOTO Takashi.
2003-06-17 04:17:37 +00:00
simonb 7eb2ec40b2 Remove the KERN_DRIVERS case handler (prototype code?). 2003-06-17 03:34:23 +00:00
dsl f8f6959024 Print hw.cnmagic as escaped hex bytes (unless -n given).
Change 'special' to be a numeral not a bit, it isn't ever used as a bit
and I can't see why it should ever be used that way.
2003-06-16 21:52:58 +00:00
nathanw 876d7e7eec Dodge a potential race condition in pthread__debuglog_printf(). It's
still possible for multiple threads to write into the same space, but
they shouldn't be able to corrupt the write pointer in the process.

Also, check for pointer-lapping a bit more carefully in the wrap
vs. non-wrap case.
2003-06-16 21:24:48 +00:00
dsl 18439070c7 Do not let the cursor sit on menu lines that do nothing.
(Maybe page up/down should behave similarly - but that one is harder)
2003-06-16 20:57:43 +00:00
dsl 217d84900a Fix stupid typo 2003-06-16 20:12:44 +00:00
dsl 24a3da65f0 Fix some typos 2003-06-16 20:11:40 +00:00
dsl 855d662c15 Whitespace fixes 2003-06-16 20:10:02 +00:00
thorpej 452a8fdae2 Rename IPL_IMP -> IPL_VM. 2003-06-16 20:00:56 +00:00
dsl 08fc1c1957 A load of KNF changes, plus a couple of strnxxx => strlxxx my fingers did
on the way through.
2003-06-16 19:42:13 +00:00
heas d00e9c2510 Define option BLINK in option file opt_auxio.h and include it in auxio.c.
approved by martin@
2003-06-16 19:24:51 +00:00
thorpej bd370c9c04 Give every obio implementation a size and width locator. 2003-06-16 17:40:49 +00:00
perry 30b25d1cca ANSIfy, from Petri Koistinen in PR 13975 2003-06-16 17:22:00 +00:00
rjs 67e2545285 Regen. 2003-06-16 12:46:39 +00:00
rjs 946b6bccf2 Add vendor IDs for Ericsson, Hirose and AEI. 2003-06-16 12:45:20 +00:00
dsl 430c90c3f6 Correct check for active swap on install disk.
Use swapctl() for all swap operations.
Remove md_upgrade_mbrtype() from arc and hpcmips ports.
(I haven't finalised what I'm doing about type 165 partitions, but the
existing code is borked.)
2003-06-16 10:42:47 +00:00
itojun 1430af815a discourage the use of aggressive mode 2003-06-16 08:40:11 +00:00