Commit Graph

79636 Commits

Author SHA1 Message Date
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
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
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
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
hira 02f699b68e Fix typo (Prolofic -> Prolific). 2006-02-22 10:41:35 +00:00
garbled 9445b246b9 Sprinkle const around to make this file actually compile again. 2006-02-22 05:36:18 +00:00
garbled 5c869c790e IBM makes a pcn card that shows up as:
Trident Microsystems 4DWAVE DX (ethernet network, revision 0x25)
Unfortunately, this is an autri sound card.  Special case the match routines
for both drivers so if_pcn properly picks it up, and autri doesn't.
2006-02-22 02:57:26 +00:00
gavan d57c2ae462 Nuke reference to root on rtk0. Default to root on ? 2006-02-22 00:34:00 +00:00
gavan 60b9fa0cff * Read the Machine ID from flash
* Determine the MAC address for the onboard Ethernet from the Machine ID
* Use device properties to pass the MAC address into the wm driver
2006-02-22 00:23:52 +00:00
gavan fc631497e1 Convert MD hook to device property reads.
Device properties, if present, take precedence over EEPROM values.
2006-02-22 00:17:43 +00:00
jmcneill e209a02f97 Redraw the splash screen when text is disabled via the following command:
wsconsctl -d -w splash.enable=1
2006-02-22 00:07:17 +00:00
rpaulo 08d09ff6c5 In sysctl_iflist() don't assume TAILQ_FIRST() will never be NULL.
Prevents crash found by Uwe and fix confirmed working by Jeff Ito (all
on tech-net).
2006-02-21 22:01:17 +00:00
thorpej 9a7728a937 Back out previous -- it was committed by mistake. 2006-02-21 15:07:03 +00:00
is 4e153e3dce Prototype for fakecninit(). 2006-02-21 12:32:02 +00:00
gdamore 0ae4b88fc9 Show all 36-bits of paddr_t.
Approved by simonb@
2006-02-21 08:25:49 +00:00
skrll 14041a25af Fix from Sam Leffler "correct check for whether wpa is enabled".
wpa_supplicant and static WEP doesn't crash the firmware now. YAY!
2006-02-21 07:24:07 +00:00
thorpej 58853410ae Use device_class() instead of accessing dv_class directly. 2006-02-21 04:32:38 +00:00
thorpej 1cdae6d6e2 Use device_is_active(). 2006-02-21 04:31:33 +00:00
thorpej d223e8477f Use aprint_*(). 2006-02-21 04:26:32 +00:00