Commit Graph

19838 Commits

Author SHA1 Message Date
cube
2d6c09f7a7 Resource lists end with END_TAG, not END_DEPENDENT. Makes the
PCI_INTR_FIXUP code "work" again.

Most of the time it will produce a warning about a misaligned resource
pointer, but it's harmless, and the warning was removed in the next version
of the ACPI-CA code.
2006-02-26 18:46:04 +00:00
rpaulo
f714333c4c In mixer_remove() it's better to check if lwp is not NULL before trying
to access a children node of it.

Fixes PR 32823, by Yours Truly. I guess I should read the code before
sending a PR.
2006-02-25 11:32:51 +00:00
wiz
5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00
christos
1ac8da90ae As core requested, remove vinum 2006-02-25 01:27:20 +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
uwe
9aa1f72d95 Whitespace cleanup (hi, macallan). 2006-02-24 22:39:15 +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
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
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
wiz
078081c6ad Fix typo in aprint argument. 2006-02-23 17:38:03 +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
simonb
146e189f89 Fix memory leak in the TWEIO_GET_PARAM ioctl.
Tested by gendalia@.
2006-02-23 03:59:59 +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
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
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
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
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
chuck
c76190d31d regen. 2006-02-21 03:11:12 +00:00
chuck
cd31590889 add entry for LINKSYS PCM200 10/100 ethernet card 2006-02-21 03:09:54 +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
kochi
6f20259365 use aprint_* 2006-02-20 12:17:49 +00:00
riz
74baa88e7d Flesh out the framework for attaching drivers to the GPIO pins.
From OpenBSD, Alexander Yurchenko <grange@openbsd
2006-02-20 03:18:36 +00:00
martin
cf755d3b8b Regen 2006-02-19 21:31:14 +00:00
martin
505c00bd30 Add Aztech AZT1020. From Stephan Meisinger. 2006-02-19 21:30:46 +00:00
jmcneill
8d38b91f51 Smaller NetBSD logo image, suitable for lower memory situations or
screens that don't do 640x480 (ie, 640x240 on hpcsh Jornada 690).
2006-02-19 17:12:01 +00:00
jmcneill
b74d978f79 Prevent vga from attaching if vesafb is the console. Accessing VGA
registers after switching to a VESA linear framebuffer mode is not
guaranteed to work. This should fix the majority of the problems people
have been experiencing with vesafb.

XXX: Still doesn't fix the assertion in wscons with options DIAGNOSTIC.
2006-02-19 15:16:53 +00:00
jmcneill
117a143dac Multiple inclusion protection. 2006-02-19 15:09:58 +00:00
xtraeme
a9488074d6 Add __KERNEL_RCSID. 2006-02-19 08:49:45 +00:00
xtraeme
80a3ae858b * Add missing $NetBSD$ tag and __KERNEL_RCSID.
* Nuke completely __P().
2006-02-19 08:40:12 +00:00
dyoung
255487c5d5 Support newer firmwares. From Eric Auge. 2006-02-19 08:20:46 +00:00
dyoung
1a85ac8d6d Add radiotap support to an(4). From Eric Auge. 2006-02-19 08:20:02 +00:00
dyoung
a43fc3c20c When rtw_enable is called, power may have been removed and re-applied,
so invalidate the WEP key registers to force us to write the keys
back to the hardware.

Revamp key handling: use the hardware WEP engine for 40-bit and
104-bit keys, only; use software WEP for all other key lengths.
Set the hardware key length to the length of the default Tx key,
or if there is no default Tx key, use the length of the longest
WEP key.
2006-02-19 08:10:06 +00:00
dyoung
e1a75e8134 ADM8211 hardware WEP is not working (probably due to a bug in 802.11
Duration / PLCP Length calculation), so temporarily switch to
software WEP, which is working.
2006-02-19 08:02:46 +00:00
macallan
23d4731713 add a flag to completely disable drawing on a screen 2006-02-19 03:51:03 +00:00
tls
b69125454c Add support for i2c bus on AMD-8111 used on many Opteron server motherboards,
and ADT 7463c thermal and voltage monitor found on the Tyan S2881 and S2882-D
(and probably other boards as well).  We do not currently support any kind
of detection of the i2c address of the thermal monitor; it appears to be
at 0x2D on the S2881 and 0x2E on the S2882-D (kernel config examples
forthcoming).

From PR kern/32463 submitted by Anil Gopinath, anil_public@yahoo.com.
2006-02-19 02:24:20 +00:00
macallan
47b2704858 alternative splashscreen image, from salo@
If you want different colours - muck with _splash_header_data_cmap ;)
2006-02-19 02:10:42 +00:00
macallan
23bcdb1c3e use defparam for SPLASHSCREEN_IMAGE 2006-02-19 01:39:54 +00:00
dyoung
e315c6b227 When atw_enable is called, power may have been removed and re-applied,
so invalidate the WEP SRAM to force us to write the keys back to
the hardware.
2006-02-18 22:12:01 +00:00
dyoung
f66ad201c4 Fix serious regression in AP-client mode: program adapter's BSSID
as we enter the IEEE80211_S_AUTH and IEEE80211_S_ASSOC states, so
that we don't send 802.11 Authentication and Association frames
with BSSID=00:00:00:00:00:00.
2006-02-18 22:07:11 +00:00
joerg
d8f58dca75 Change the link status code in MII to use if_link_state_change instead
of calling rt_ifmsg directly. This allows other parts of the kernel
to change the behaviour depending on the link state and is a
prerequirement for CARP.

Hide mii_phy_statusmsg, mii_phy_update should be used instead.
Don't send routing messages for baudrate changes, if_baudrate is
currently not exported via this interface.

OK tls@
2006-02-18 19:51:07 +00:00
jmcneill
56fa9d50ff Import splash screen support. 2006-02-18 19:00:23 +00:00
jmcneill
4baf344378 Bunch of changes to wscons in preparation for splash screen support:
* Add WSDISPLAY_TYPE_VESA for vesafb. While here, fix a typo in a comment.
 * Add WSDISPLAYIO_SSPLASH and WSDISPLAYIO_SPROGRESS ioctls. The former
   toggles the splash screen on and off, and the latter updates the progress
   animation.
 * Prevent more than one hw driver from claiming to be the console.
 * In vcons, keep two pointers to the screen's vcons_data. This lets us
   override the original (ie with null emulops during boot), and restore
   them later on.
2006-02-18 18:56:05 +00:00
thorpej
eac3d8d187 Add the DP83847 PHY. From seebs in kern/32866 2006-02-18 14:17:16 +00:00
jmcneill
4f186b3e0d Add shadow framebuffer support. 2006-02-18 13:57:33 +00:00
thorpej
680d9eea68 - Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
  associates the MAC address property with the epe device instance.
2006-02-18 05:04:11 +00:00
rpaulo
951a531e19 In rnd_add_uint32(), there's no need to check for rs == NULL since
that was already done by the caller, rnd_add_data().
2006-02-17 19:22:30 +00:00