Commit Graph

41869 Commits

Author SHA1 Message Date
uwe
2817b4e30f Report power status to apm. Reported are AC on/off, batter absent,
battery is being charged, and estimated battery percentage (thanks to
Joseph Heenan for battery discharge measurements).
2006-02-26 03:25:44 +00:00
dyoung
f140ae1967 Add tags from sys/arch/x86/ to the i386 tags file. 2006-02-26 03:08:02 +00:00
thorpej
a1050c527b Use device_is_a(). 2006-02-25 17:32:43 +00:00
uwe
9c1b217d35 Cosmetic. Consistenly use return without parens as new KNF requires.
Move assignment out of conditional expression.
2006-02-25 16:43:36 +00:00
simonb
7a89a17ecd Sort PCI devices alphabetically.
Add "sip" and "fxp" ethernet cards.
Split ethernet and IDE controller devices into separate sections.
Use "options<space><tab>".
2006-02-25 11:47:41 +00:00
simonb
f6508730bb Sort PCI devices alphabetically.
Remove IDE controller and related devices - the MeshCube doesn't have
  one of these.
Use "options<space><tab>".
2006-02-25 11:45:24 +00:00
simonb
f309c85ff6 Sort PHYs alphabetically, add nsphyter.
Use "options<space><tab>".
2006-02-25 11:43:14 +00:00
wiz
5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00
christos
1b49426ea4 remove vinum 2006-02-25 01:31:02 +00:00
wiz
1ad8067cb3 Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.
2006-02-25 00:58:34 +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
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
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
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
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
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
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
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
uwe
ea99f7e98d s/STATIC/static/
Propagate "static" to function definitions.
2006-02-23 00:46:31 +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
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
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
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
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
thorpej
58853410ae Use device_class() instead of accessing dv_class directly. 2006-02-21 04:32:38 +00:00
thorpej
d223e8477f Use aprint_*(). 2006-02-21 04:26:32 +00:00
thorpej
b636d4910e Add an "instance" member to opb_attach_args and use it when fetching
the mac-address property from board_info.  port-powerpc/32862
2006-02-21 04:25:29 +00:00
cdi
d0f8217f78 Use ANSI-style function definitions and declarations. 2006-02-20 19:00:27 +00:00
gdamore
bd88c02e70 Add missing GPIO_BASE, plus clean up PCMCIA_BASE and add STATIC_BUS_BASE.
Fixes build error noted by martin@
2006-02-20 17:08:08 +00:00
thorpej
3ddf26777f Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.
2006-02-20 16:50:36 +00:00
rjs
25f0b1dc0a Regen for iPAQ 3900. 2006-02-20 10:47:27 +00:00
uwe
4f2fba2a61 Use comma in debug message in _load_segment_end to make it more readable. 2006-02-20 03:09:05 +00:00