Commit Graph

19861 Commits

Author SHA1 Message Date
dyoung
3df1c332db Stop-gap solution to Atheros Cardbus cards losing (crypto?) hardware
state: after the device attaches, do not ever remove power from
the cardslot.  Without this patch, ath@cardbus does not work reliably
in WPA/WPA2 networks.

XXX A better solution is to restore the hardware state that gets
XXX scrambled by removing and re-applying power, but I haven't
XXX found out precisely what state is scrambled, yet.
2006-03-02 01:24:00 +00:00
dogcow
d52723dd8c add a bunch of Nvidia nForce ethernet IDs (via OpenBSD.) 2006-03-01 22:22:36 +00:00
oster
17ebfc7e6c Fix lossage related to device_is_a() changes. Fix from cube@ (thanks!).
Tested by me.
2006-03-01 21:41:49 +00:00
gdamore
6e5dbc3f2f Add pci_find_rom() API as discussed on tech-kern. 2006-03-01 18:53:39 +00:00
yamt
ec5a93183a merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.
2006-03-01 12:38:10 +00:00
cube
20468175d2 Regen. 2006-03-01 09:30:22 +00:00
cube
687f061948 Add INT0800 (Intel FWH RNG). Make tabulation consistent. 2006-03-01 09:29:47 +00:00
kleink
1c977dd5bd Fix inverted device_is_a() logic in previous conversion. 2006-02-28 23:10:49 +00:00
kleink
f518d0e3f3 Reduce previous (!is(...) != 0) to (!is(...)). 2006-02-28 22:52:34 +00:00
kleink
e9b4cd552f Fix inverted device_is_a() use logic in previous. 2006-02-28 22:40:15 +00:00
gdamore
7ddac1f73a Regen. 2006-02-28 20:57:14 +00:00
gdamore
a0fea31083 Add Radeon 7000/VE (QZ). 2006-02-28 20:56:52 +00:00
gdamore
9978357901 Add PCI_MAPREG_TYPE_ROM and allow it to be used with pci_mapreg_map().
Fix to configure (but do not enable) BARs for expansion ROMs.
Reviewed by briggs@
2006-02-27 16:11:58 +00:00
jmcneill
6984d2ca99 Fixup a performance problem in rasops_copyrows that I introduced during
the shadowfb merge.
2006-02-27 12:19:29 +00:00
dyoung
cee154c1e6 Quiet ath(4) when debug output is enabled with the hw.athX.debug
sysctl: only print messages pertaining to transmission when
ATH_DEBUG_XMIT is set, instead of printing them when ATH_DEBUG_ANY
is set.

Patch via Sam Leffler.
2006-02-27 06:18:47 +00:00
thorpej
9bc69fdb97 cfg1, cfg2, and swdpin are not generic properties the same way that
mac-addr is.  Prefix them with i82543-
2006-02-27 04:50:47 +00:00
thorpej
d1f18238ca Use device_is_a(). 2006-02-27 02:59:24 +00:00
thorpej
cbb0407210 Use device_is_a() more. 2006-02-27 02:58:56 +00:00
thorpej
6a56683d19 Use device_is_a(). 2006-02-27 02:56:19 +00:00
peter
4e0a2c5950 Remove the include <machine/autoconf.h>, it is a) not needed any more and
b) not available on all hpc ports.
2006-02-27 02:30:39 +00:00
cube
1a40a44a0c Add support for OAPM_IOC_GETPOWER. That will keep binary compatibility
when hpcarm switches to using hpcapm(4).
2006-02-27 00:38:25 +00:00
pooka
fd66aebd5b fix tyop in debug printf 2006-02-26 23:52:08 +00:00
pooka
bf4d72443b make compile with AUCONV_DEBUG: rename encoding_names to encoding_dbg_names
to avoid -Wshadow collision
2006-02-26 23:23:59 +00:00
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