Commit Graph

17135 Commits

Author SHA1 Message Date
thorpej bddc74072e Define and use pcmciabuscf_controller as an alias for
cf_loc[PCMCIABUSCF_CONTROLLER] and pcmciabuscf_socket
as an alias for cf_loc[PCMCIABUSCF_SOCKET].
2004-06-20 18:09:46 +00:00
thorpej 221edc1cb1 Define and use zsccf_channel as an alias for cf_loc[ZSCCF_CHANNEL]. 2004-06-20 18:07:35 +00:00
itohy 73b59a9484 Add corega FEtherII PCC-TXD.
From website of Sano Yukihiko.
2004-06-19 04:20:48 +00:00
itohy fc83a1b610 Regen from pcmciadevs rev 1.194. 2004-06-19 04:15:29 +00:00
itohy 42d8d112df Add corega FEtherII PCC-TXD.
From website of Sano Yukihiko.
2004-06-19 04:13:12 +00:00
bouyer dac9c603d0 Regen for pcidevs 1.628: Add the Netelligent 10/100 TX variant found on the
Compaq Proliant Professional Workstation 5100.
2004-06-15 19:48:27 +00:00
bouyer 96e377add1 Apply patch from kern/25936 by Michael Blake: Add support for the
Netelligent 10/100 TX variant found on the Compaq Proliant Professional
Workstation 5100.
2004-06-15 19:47:23 +00:00
augustss 79295fa58d Remove change accidentally committed by tls. 2004-06-14 13:52:55 +00:00
tsarna 4605dd7457 Add calibration support to uep driver.
Untested, still need a userland utility to calibrate with.
2004-06-12 17:52:41 +00:00
mycroft 738ef9dc5d Fix an unimportant typo. 2004-06-12 16:02:42 +00:00
petrov 3936b06424 Initialize restartcnt. from FreeBSD. 2004-06-11 17:25:47 +00:00
kochi d639792bc2 The "implicit return" problem is already fixed since when I imported
ACPICA_PEDANTIC changes from FreeBSD.
Added one item (processor driver).
2004-06-09 16:48:49 +00:00
kochi 7322c3b561 Add code for replacing DSDT. See comments in the file.
Ideas from T.Shiozaki.
2004-06-07 17:35:14 +00:00
kochi 71dc5a9687 Add ACPI_DISABLE_ON_POWEROFF option.
Note: the default behavior is changed.  Now we don't disable the ACPI
subsystem on power off (halt -p) by default.
'options ACPI_DISABLE_ON_POWEROFF' in a kernel config file makes the kernel
behave the way we used to be.
2004-06-07 15:33:17 +00:00
kochi 248f79eb70 Remove the first one (split _REG initialization path into two phases;
which has been done since post-20031203 version of ACPI-CA).
Pointed out by mycroft.
2004-06-07 15:30:03 +00:00
christos f6a0807a9e make the scroll lines ioctl struct take u_int's again. The wsconsctl
command does not deal with shorts well.
2004-06-07 01:13:40 +00:00
martin 0db10bbadb In acpitz_get_zone only print verbose temperature thresholds when called
from acpitz_attach. This removes strange (and possibly scaring) messages
described in PR kern/25747.
2004-06-06 17:27:05 +00:00
he 4d1d8d6c84 Remove spurious second argument to sizeof(). 2004-06-06 13:34:36 +00:00
dyoung 43dcf72c5f Finally, refactor wi_media_change and ieee80211_media_change.
ieee80211_media_change handles a lot more conditions than
wi_media_change did.

This helps with the second bug mentioned in kern/25604, which causes
"SIOCSIFMEDIA: Invalid argument."
2004-06-06 05:32:17 +00:00
dyoung 86fed42ae8 In ad hoc mode, ignore the MAC's link up/down indication, since it
does not appear to be reliable.
2004-06-06 04:38:33 +00:00
dyoung bcc2926388 Name some constants. Perhaps this deserves the cardbus_setpowerstate
treatment?
2004-06-06 04:10:49 +00:00
jdolecek 849c8f1904 attach to Sitecom USB to serial cable
patch submitted in PR kern/25510
2004-06-05 08:41:43 +00:00
jdolecek 3173ee1a05 regen:
add Sitecom USB to serial cable
info submitted in PR kern/25510
2004-06-05 08:40:10 +00:00
jdolecek 80ce2a5588 add Sitecom USB to serial cable
info submitted in PR kern/25510
2004-06-05 08:39:31 +00:00
dyoung 9494e60fdb No need to detect and exit on short 802.11 packets, since
ieee80211_input will do that (and tap the packet).
2004-06-05 07:12:45 +00:00
mycroft 4713b8ea6e Remove a couple of items that are done now. XXX Is the first one also done? 2004-06-05 03:14:45 +00:00
bouyer 851ca6fa98 Don't try to bus_space_subregion() registers that didn't get mapped.
Problem reported and fix tested by Kurt Schreiner on port-alpha.
2004-06-04 21:15:00 +00:00
thorpej 85c0b77956 twe_ccb_map(): Remove the DEBUG panic case of "unknown" S/G list offset.
In all likelihood, this is a command passed from userspace management
tools where no S/G list is needed because no data is being passed.
2004-06-04 20:11:17 +00:00
thorpej 6c0c39322a Wrap a noisy probe message in FD_DEBUG. 2004-06-04 01:12:04 +00:00
christos 6a5f1d6689 return ENODEV if functions are not compiled in the kernel. 2004-06-03 19:04:58 +00:00
heas 4a60d04fc7 Double the time we wait for the attention bit following a soft reset (and make
the timeout message just a bit clearer), as the latest firmware appears to be
a bit slower.
OK from Jason Thorpe.
2004-06-03 18:07:30 +00:00
drochner e7bdadd856 fix const'ificication, gcc-3.4 will notice it 2004-06-02 22:58:28 +00:00
christos aead610d35 Apply patch from "pandre" at netbsd.ports.i386, stops panic during attachment. 2004-06-02 18:36:06 +00:00
mycroft d78e8eee67 Fix an extremely obvious bug in the handling of the bad block list: the "max"
block was being set 512x further out than it should be, causing rather severe
escalation of the error.

XXX WTF is the point of this shit, anyway?  In most cases, the way you're
supposed to fix a bad block on an ATA disk is to rewrite it -- which will
either just transparently fix it, or spare it.  This code actively prevents
that.
2004-06-01 20:53:03 +00:00
mycroft a4135d1d48 Only downgrade modes due to an actual CRC error. Downgrading on other errors
is anti-social -- especially given that there's no way to upgrade again short
of rebooting.

Also, downgrade UDMA modes more slowly.  It's entirely possible that they're
using an 80-wire cable, but it's just too long for the higher modes, or there
is minor crosstalk.
2004-06-01 19:32:30 +00:00
christos c7d300d20b White space changes only;
1. put value defines under the fields that they refer too, all the time
   not just in some of the ioctls.
2. use #define<tab>value consistently.
2004-06-01 18:58:51 +00:00
christos f7e75201b3 Re-group scrolling ioctl's and provide new numbers for them! (thanks to
John Heasley for catching that).
2004-06-01 18:49:46 +00:00
mrg 30005fde6f #include <sys/device.h>
call ether_ifdetach() and if_detach() if attaching fails...
2004-06-01 15:17:49 +00:00
mrg a596504c46 - update URLs for sigmatel.
- add entry for "SigmaTel STAC9758/59" (seen on a new emuxki card)
2004-06-01 13:35:59 +00:00
toshii 3c13bf058a Add re. 2004-05-31 13:47:33 +00:00
dyoung 4d9e630e22 Don't set a frame's WEP bits, the 802.11 layer already has. 2004-05-31 11:42:00 +00:00
dyoung 17bc2a623e Define several new registers for the ADM8211C/CR parts. Improve
old register descriptions.
2004-05-31 11:40:56 +00:00
dyoung ee1c094dae No need for ath_start to set the WEP bit in the frame header, the
802.11 layer does it for us.
2004-05-31 11:39:39 +00:00
dyoung ac60cbd35f It's only necessary to set do_encrypt in one place, so do that. 2004-05-31 11:28:48 +00:00
dyoung 3e45584fea Cosmetic: fix comment typo, change bit-test style. 2004-05-31 11:28:03 +00:00
dyoung 4d6f61112f Name the shift, txpower << 2 -> LSHIFT(txpower, RF3000_GAINCTL_TXVGC_MASK). 2004-05-31 10:49:32 +00:00
dyoung ab84dc7c5f Wrap a line. Remove a useless comment. 2004-05-31 09:05:01 +00:00
dyoung 97c923cdc2 Describe Tx/Rx state a little better using clue from the ADM8211C/CR
datasheet.
2004-05-31 09:00:24 +00:00
dyoung e4e9f15d6a Use bpf_mtap2. 2004-05-31 08:52:53 +00:00
grant 52620d764c regen 2004-05-30 09:28:48 +00:00