Commit Graph

143783 Commits

Author SHA1 Message Date
drochner
e4c5c3aea6 constify the __sysctl() kernel side 2006-02-24 19:20:20 +00:00
macallan
998a8ba3e2 clear the whole screen on startup, fix an endianness mismatch when creating
the cursor sprite - this needs to be tested ( and probably fixed ) on a
netwinder.
2006-02-24 18:35:09 +00:00
shige
ac76a40e3a Add Au1XXX PSC(Programable Serial Controller) bus-type driver.
PSC supports four protocols (AC97, I2S, SPI, SMBus).
These protocol drivers will be configured on the bus.
2006-02-24 14:34:31 +00:00
cube
3ca5c26836 Rework hpcapm(4) attachment definition so it is not required to attach at
mainbus, and convert its two users, hpcsh and hpcmips, to that.

Many thanks to Valeriy Ushakov and Ben Collver for testing.
2006-02-24 13:06:12 +00:00
pooka
833be9a435 comment police: p_dupfd is now known as l_dupfd and lives in struct lwp 2006-02-24 12:54:48 +00:00
pooka
eadf5bf8b1 add fdclone 2006-02-24 12:49:16 +00:00
pooka
9b67fde0e2 document fdclone 2006-02-24 12:47:18 +00:00
bjh21
70c82cfa56 Medium-sized overhaul of POOL_SUBPAGE support so that:
1: I can understand it, and
2: It works.
Notable externally-visible changes are that POOL_SUBPAGE now has to be a
compile-time constant, and that trying to initialise a pool whose objects are
larger than POOL_SUBPAGE automatically generates a pool that doesn't use
subpages.

NetBSD/acorn26 now boots multi-user again.
2006-02-24 11:46:20 +00:00
jmmv
8bd6f83897 Repeat previous for SPLASHSCREEN* options. 2006-02-24 10:20:32 +00:00
simonb
f265cb64ba Use "default" instead of "std.38400" for console and tty entries.
38400 doesn't seem to work well on 115200 baud consoles...
2006-02-24 10:15:23 +00:00
jmmv
84d6418155 Use 'options<space><tab>' in the recently added vesafb stuff so that
uncommenting those lines leaves them properly aligned.
2006-02-24 10:05:41 +00:00
manu
c7fca50583 Fix compat_linux32 time(2) emulation 2006-02-24 06:39:47 +00:00
oster
7e6acfc4fe - minor comment cleanup
- nuke an extraneous memset() (RF_Malloc() already does that)
from RAIDFRAME_GET_INFO in raidioctl().
2006-02-24 03:20:22 +00:00
uwe
7ebf92ccc4 Use 4- or 2-bytes aligned accesses if possible.
Makes it possible to examine hw registers that require 4- or 2-byte accesses.
2006-02-24 00:57:19 +00:00
he
dee010acfb If the local variable changes name, modify it's uses as well. 2006-02-23 23:57:57 +00:00
he
afa1898cb0 Fix an obvious typo (missing closing paren). 2006-02-23 23:57:32 +00:00
christos
aa3a9e822d By popular demand don't bail out if a user's shell is not in /etc/shells.
Issue a warning instead.
2006-02-23 22:45:25 +00:00
dsl
1256423cda Put the name of the system/directory (etc) into the menus when asking
for the location of the source of the sets.
Put the menu in the place on the screen that used to contian a display
of what was selected.
Now these screen work the same way as the disk partitioning ones.
Leaves more screen real-estate for more questions.
2006-02-23 21:44:56 +00:00
jld
e1c2c022ba Fix typo ("program"). 2006-02-23 20:57:03 +00:00
garbled
b19f0d3164 Commit support for the IBM Model 7024 E20 and E30. (E30 not tested).
Changes:
Added a pci-EISA bridge device and associated glue to the prep port.
  Adapted from i386.
Change pci_intr_fixup_*() to pass the pin argument on all platforms.
Make PCI_NETBSD_CONFIGURE leave the MPIC alone.  We map it separately.

7024 kernel was also succ. tested on an IBM 7043, so no regression there.
2006-02-23 19:44:02 +00:00
shige
6b17239118 Modify copyright declaration. 2006-02-23 17:47:35 +00:00
wiz
078081c6ad Fix typo in aprint argument. 2006-02-23 17:38:03 +00:00
thorpej
ef9d89ad7e Use device_is_a(). 2006-02-23 17:32:14 +00:00
shige
6707bdbecb Support Plathome OpenMicroServer (OMS-AL400).
http://www.plathome.co.jp/products/oms400/index.html (sorry japanese only).
2006-02-23 17:14:01 +00:00
hubertf
ee2255c4b0 Clarify "{Product_Name}" -=> "NetBSD", as advised by The Open Group 2006-02-23 15:33:31 +00:00
macallan
31038cb7db Add support for virtual consoles to igsfb.
Works fine on a Krups, needs testing on other ports.
2006-02-23 08:01:59 +00:00
thorpej
b8fb264ef0 Use device_is_a(), rather than the locally-defined DEVICE_IS() (which
uses a much more complicated mechanism to do the check).
2006-02-23 05:49:42 +00:00
thorpej
bd81f8887a Add device_is_a(), which returns true if the device is an instance
of the driver specified by name.
2006-02-23 05:48:12 +00:00
thorpej
458b3e43f7 Use device_parent(). 2006-02-23 05:37:46 +00:00
gdamore
0a10b0f21a Third time the charm? Okay, this time it at least compiles. 2006-02-23 04:52:49 +00:00
gdamore
bd1e7e550f Doh! Correct typo/pasto error. 2006-02-23 04:45:55 +00:00
gdamore
7907cb6c09 Initial configuration for MTX-1, aka Meshcube. 2006-02-23 04:40:52 +00:00
garbled
16ab65cbc0 1) Change the offset for each of the chunks of printed dump data from
a tab to two spaces.  This allows more space for some of the large vendor
items we wish to print.
2) Add decoding of a number of large vendor items of particular interest
to anyone wishing to port NetBSD to a prep machine.
3) Add a small convenience function which will be used by other pnp functions
in the future.
2006-02-23 04:06:52 +00:00
simonb
146e189f89 Fix memory leak in the TWEIO_GET_PARAM ioctl.
Tested by gendalia@.
2006-02-23 03:59:59 +00:00
gdamore
38e63dcefc Add PCMCIA board-specific logic for DBAU1550. It isn't quite right yet, so
I'm not enabling it in the configuration file yet.  (I have an uncommitted
version of the config file that I will happily share with anyone who wants to
help test or debug.)
2006-02-23 03:51:40 +00:00
gdamore
6dd67e3239 Initial commit of aupcmcia chip driver. It requires board specific logic
(coming in a the follow up commit for dbau1550 only), and is not yet complete.
It has serious problems, enough that it isn't yet usable, although the
functionality is all basically fleshed out.  It is not enabled in any
default kernels at this point, so it should be benign.  Hopefully the
bugs will soon be worked out and these caveats can be removed.
2006-02-23 03:49:28 +00:00
gdamore
c8934e8111 Remove evbmips-specific aupcmcia... to be reimported shortly into
mips/alchemy.
2006-02-23 03:34:35 +00:00
gdamore
39b794a41d When unmapping and remapping, the mem handle and mem tags can change. Do
not assume that they will remain the same.
2006-02-23 03:20:53 +00:00
gdamore
3ca20d0b44 Add new ihandle member to pcmcia_io_handle, similar to pcmcia_mem_handle's
mhandle structure.  This is for opaque use by pcmcia chipsets.
2006-02-23 03:18:42 +00:00
gdamore
f964209a3e Sprinkle wbflush() to ensure register writes are pushed thru the cpu write
buffer.
Clear and set WAKEUP properly.
2006-02-23 01:50:55 +00:00
uwe
2889a03e1b Order functions so that there's a logic order.
Add comments.  Misc cosmetic.
2006-02-23 01:43:47 +00:00
christos
23ecfee197 Handle IPSEC_NAT_T in the FAST_IPSEC case.
XXX: need to fix the FAST_IPSEC code now.
2006-02-23 01:35:19 +00:00
uwe
ea99f7e98d s/STATIC/static/
Propagate "static" to function definitions.
2006-02-23 00:46:31 +00:00
drochner
2d1a0b57b6 kill the "fault_type" argument to pager's pgo_fault() methods
it is never used
(and using it would comprise an abstraction violation imho)
2006-02-22 22:28:18 +00:00
bjh21
0638b201c9 Include page ownership information in the output of the DDB "show all pages"
command if UVM_PAGE_TRKOWN is enabled.
2006-02-22 22:20:56 +00:00
drochner
9c6a0cdbbd don't bother to figure out whether a page was not mapped at all or mapped
with too little permission (physically) on a fault -- uvm knows better
2006-02-22 22:11:44 +00:00
rpaulo
be393d0ce0 In bge_ioctl(), don't call bge_init() if the interface is already up.
Makes ifwatchd work on this interface.
2006-02-22 15:18:55 +00:00
ginsbach
c4276fd553 Add EAI_OVERFLOW per RFC3493, POSIX and XPG6. 2006-02-22 14:26:30 +00:00
hira
02f699b68e Fix typo (Prolofic -> Prolific). 2006-02-22 10:41:35 +00:00
he
127058acaa Include <sys/param.h> explicitly relatively early, so that we pick
up the definition of MAX earlier, and avoid a redefinition which
GCC 2 isn't very fond of.  Fixes build problem for vax.
2006-02-22 08:56:46 +00:00