Commit Graph

162819 Commits

Author SHA1 Message Date
peter
f27028f22e Call callout_init before callout_stop. 2007-10-26 10:39:40 +00:00
he
27b6c6515d Correct the symbol used for multiple include protection, we can't
use _SYS_BUS_H_ here and expect good results when <sys/bus.h> is
included.
2007-10-26 09:15:54 +00:00
garbled
670c8a4f93 Fix the ranges_bitmap function so it correctly finds the various ranges
on OFW, and passes them on to ofwoea_batmap correctly.  With this fix,
ofppc now properly initializes all of it's batmappings.

Kept the macppc specific override of the bitmap, but surrounded it with
an #ifdef macppc.  It would probably be worth testing macppc without this
ifdef to see if it works there as well.
2007-10-26 08:41:24 +00:00
nisimura
b9c06c9fc0 add one more 10/100 Ethernet PCI NIC and fix some others. Needs
innovation to handle multiple device configuration with match/attach/init
sequence like NB auto-configuration machine.
2007-10-26 01:16:27 +00:00
garbled
9e99088c7c Add code to properly detect the interrupt mapping on the PegasosII, and any
other OFW machine that fails our first two methods.
2007-10-26 00:34:53 +00:00
wiz
c06a095415 Various improvements: typo fixes, wording, formatting. 2007-10-25 23:14:41 +00:00
he
555e1d5a74 Remove a superfluous test, wcrtomb() cannot return (size_t)-2.
Pointed out by Aleksey Cheusov.
2007-10-25 22:22:41 +00:00
jdc
c4eef94666 Only resize curscr, __virtscr and stdscr when the screen is resized.
Note the behaviour of sub-windows when the parent window is resized.

Fixes PR pkg/37129.
2007-10-25 20:42:07 +00:00
jdc
542a57c041 Return "-1" for unknown keys and only return NULL for errors.
Make the key name string a static buffer.  The specification allows this,
so the previous behaviour would leak a small amount of memory, as the
application wouldn't free the returned string.

Fixes one part of PR pkg/37062.
2007-10-25 20:32:40 +00:00
plunky
ed67784932 remove #include <usbhid.h> as its not needed 2007-10-25 19:32:15 +00:00
christos
83bb8db055 Add seeprom. 2007-10-25 17:34:06 +00:00
garbled
3f9a46c5fb Add some basic options from i386 GENERIC. 2007-10-25 17:33:25 +00:00
christos
95a01f2aff PR/37210: Jonathan Kollasch: Add seeprom man page. 2007-10-25 17:32:23 +00:00
garbled
fb3ebfc3c0 Add a new convenience function, of_find_firstchild_byname(), and apply
some minor KNF to this ofw_subr.c.
2007-10-25 16:59:38 +00:00
pooka
f608ef6f7b Don't unmount file system when releasing ukfs - it's always already
unmounted at that point (or never was mounted in the first place).
2007-10-25 16:56:41 +00:00
garbled
5c24ff82a3 Add a bunch of fixes and minor rewrites to ofppc to bring it closer to
working properly.  This is still a work in progress, and all work so far
has been based on the PegasosII machne.

1) Rewrite how the ISA memory and IO space maps are found.  More work
will still need to be done in this area.
2) Add a new OFW method of pci configuration.  So far I can only get this
to work on the primary PCI bus on the Pegasos.  Unsure if this is a
pegasos bug or a code bug.
3) Add the rtas device to ofppc, and add an "rtas_reboot" function to
rtas to allow me to reboot the PegasosII.  The rtas driver works, and is
a great start but needs to be changed slightly to allow easier access to
the functions from outside the driver.
4) Fix a number of bugs that existed in the shared PCI code for ofw that
probably weren't tickled by macppc.

There is much much more left to do here, this is all still a work in
progress, but this commit will allow other people to play around with the
code if they want to.
2007-10-25 16:55:49 +00:00
jmmv
240f26990b Translate oldsendmail per Pavel's request. 2007-10-25 15:47:51 +00:00
pooka
69cae5d94a Reference mountpoint when fetching operations and release waiters
in unmount.
2007-10-25 15:22:25 +00:00
christos
ba0aca47b0 PR/37205: Aleksey Cheusov: nawk: a number of open files is limited to very
small constant. Make the array of files dynamically allocated.
2007-10-25 15:12:03 +00:00
he
a9f62d9e82 Add two very simple regression tests for the "toupper" and "tolower"
functions, doing some minimal checking that they now support multibyte
charsets after the fix from PR#36394 was applied.
2007-10-25 14:51:18 +00:00
he
945d30fed1 Result file from regression test should not have been checked in. 2007-10-25 14:48:49 +00:00
nisimura
fedf46d32a change MAKEDEVTARGETS= for floppy-less installation. 2007-10-25 14:48:00 +00:00
he
50d663aa6a Add support for multibyte charsets in the "tolower" and "toupper" awk
functions.  Code contributed by Aleksey Cheusov in PR#36394, and slightly
tweaked for closer-to-KNF conventions by me.  Also slightly improved checks
of error returns.
2007-10-25 14:44:49 +00:00
he
c6b19d4d1d Bring back the fix in revision 1.6, apparently accidentally lost
during last merge, to allow escape of a newline in string literals.
2007-10-25 14:40:33 +00:00
nisimura
a2c7664889 finish to relocate md-kernel/ and ramdisk/ directories. 2007-10-25 14:34:37 +00:00
nisimura
e02c97f69c relocate md-kernel/ and ramdisk/ directories one level up. 2007-10-25 14:20:55 +00:00
joerg
16951292eb Remove a completely bogus check if cbb has a valid PCI interrupt routed.
If you have a system where it doesn't get one and you still want pcic,
you can just disable cbb. This check is invalid as soon as the PCI
interrupt register is not used and broke on my Dell Latitude for that
reason.
2007-10-25 13:49:06 +00:00
nisimura
3f59c64134 - add minimalist init) clause for the case of empty /dev directory.
- since no floppy drive is useful even with standard SP3 and EnCorePP1
  configuration, floppy related descriptions will be removed in future.
  installation procedure needs to have renovations.
2007-10-25 13:32:16 +00:00
yamt
23005df1e0 defparam PAGER_MAP_SIZE. 2007-10-25 13:03:03 +00:00
yamt
ac301375d9 fix warnings. 2007-10-25 12:48:11 +00:00
aymeric
71e8303856 include bluetooth conf file 2007-10-25 11:08:35 +00:00
pooka
5643bf6454 Make pu_haskq a flag instead of its own variable. 2007-10-25 10:59:45 +00:00
nisimura
1b23a1904b add two popular GeE PCI cards. big endian CPU aware and works with
PIPT writeback cache.  still crude, refinement will follow as tests
on real HW progress.
2007-10-25 10:54:55 +00:00
he
f085246ad5 Move from want_resched to ci->ci_want_resched. 2007-10-25 09:43:24 +00:00
nisimura
5e06d95c3f add three popular 10/100 Ethernet PCI cards. big endian CPU aware and
works with PIPT writeback cache.  still crude, refinement will follow
as tests on real HW progress.
2007-10-25 09:02:15 +00:00
dogcow
91db0cdea5 oh, for lack of a query... 2007-10-25 08:15:32 +00:00
jld
eaef8d4ad7 Touching up the permissions to preserve set-ID bits is appropriate
only in the case where the destination did not previously exist, and
necessary only when -p isn't given.

Closes PR bin/30188.
2007-10-25 03:51:14 +00:00
imp
d753725968 It is $NetBSD$ not $NetBSD%. Correct this typo. 2007-10-25 03:43:14 +00:00
xtraeme
f444ee7a2f Add jmide(4). 2007-10-24 23:20:06 +00:00
xtraeme
fdd1c8b450 regen 2007-10-24 23:08:24 +00:00
xtraeme
80f676f52f - Add support for the ServerWorks HT-1000 IDE Controller in rccide.
- Add support for another ServerWorks HT-1000 SATA Controller.

From OpenBSD.
2007-10-24 23:08:06 +00:00
ad
70b8c6f297 Fix debug builds. 2007-10-24 21:50:09 +00:00
pooka
86beec80f0 80col & whitespace police. no functional change. 2007-10-24 15:28:55 +00:00
pooka
50591a9595 "flags * (M_CANFAIL | M_NOWAIT)" is probably not correct. Use & instead.
And while committing, add other random cruft I've needed recently.
2007-10-24 15:00:37 +00:00
ad
bccf777b72 Make ras_lookup() lockless. 2007-10-24 14:50:38 +00:00
nisimura
65cdd295c3 Add fxp(4) to facilitate the entire development cycle. Benefitial
to emulate NAS products with southbridge-less SP3 and EnCorePP1.
2007-10-24 14:01:01 +00:00
reed
b72da12b34 Add HISTORY: The strtof() and strtold() functions appeared in NetBSD
4.0.
2007-10-24 13:42:10 +00:00
yamt
ea03f830b4 make -s alter the default format rather than doing parsefmt.
it allows users to use -o to replace it later.
2007-10-24 12:10:11 +00:00
joerg
1b3b209f70 Remove code that was never meant to hit the tree in first place. 2007-10-24 10:12:34 +00:00
pooka
bb8c674435 add RSVP. from Jim Wyllie on tech-userlevel and Denis Lagno
in PR misc/37194
2007-10-24 09:38:40 +00:00