Commit Graph

129134 Commits

Author SHA1 Message Date
mycroft f14903982d Ack events in only one place. Reduces register writes sometimes. 2004-07-22 20:12:20 +00:00
mycroft 9951a8362a Only read the part of the frame header we use in wi_tx_intr(). 2004-07-22 20:07:38 +00:00
mycroft 94e3bc2cef Rework the rate-lowering hack:
* Update sc_txpending[] when a packet is written, even before we issue the TX
  command, since it may be active when we issue the TX command for the
  following packet.
* Do not lower the rate in ni_txrate or id_rateidx, because these are used to
  keep track of sc_txpending[], and could cause us to get "stuck" at the lower
  rate.
2004-07-22 20:06:05 +00:00
mycroft 3a862ed4bf Make the logic in wi_write_txrate() less obscure. 2004-07-22 19:56:55 +00:00
mycroft 928d2d1d6b For Intersil firmware, use the ROM rate list to determine the correct bitmask
for BASIC_RATE and SUPPORT_RATE.  Always set these, because otherwise probe
frames will not get the correct list.
2004-07-22 19:55:08 +00:00
mycroft 0d69a42fb3 Missed one change in the previous. Now we really don't try to write it. 2004-07-22 19:51:37 +00:00
mycroft 6f32bd0675 Symbol firmware doesn't support the power management register, so don't try to
do power management there.
2004-07-22 19:50:43 +00:00
mycroft df9b04fdbb Whoops, change one back to regular "static" for an inline function. 2004-07-22 19:48:28 +00:00
mycroft 91f4c8a166 I hate "static". Add an #ifdef so I can turn it off easily. 2004-07-22 19:47:24 +00:00
drochner 87db87bf21 if the register space os the ISDN card can't be mapped, abort device
attachment instead of dereferencing NULL and so
(this needs a serious cleanup -- the framework was thought to be generally
usable for ~all PCI ISDN cards; this didn't work out, so we are left
with a lot of nonsense to support just 1 particular card type...)
2004-07-22 19:14:39 +00:00
drochner c8a35368a7 Replace the hooribly overloaded use of pci_enumerate_bus() - to find out
the chipset revision - by pci_find_device().
While the latter isn't better technically (works around the otherwise
hierarchical device tree), using it doesn't require PCI configuration
functions to support stuff which philosophically doesn't belong there.
So we get the hands free to restructure things for better loadable
driver support.
(Actually, since this is about chipset internal IDE interfaces where
the PCI device/function numbers are well known, this all is unnecessary.)
2004-07-22 19:09:34 +00:00
mycroft ff96f8f444 Support promiscuous mode for an AP too(!). 2004-07-22 18:52:44 +00:00
drochner 7f3933adae typo in comment 2004-07-22 18:45:40 +00:00
drochner 458288a626 pull in an accuracy fix for corner cases from FDLIBM 5.3
(affects large arguments which are close to N*Pi+Pi/2):
    2. k_tan.c error was > 1 ulp target for FDLIBM
        5.2: Worst error at least 1.45 ulp at
        tan(1.7765241907548024E+269) = 1.7733884462610958E+16
        5.3: Worst error 0.96 ulp
2004-07-22 18:24:09 +00:00
mycroft 430c7ae11c Add 3C656 modem portion, per PR 23710. 2004-07-22 17:34:48 +00:00
mycroft f842a0c250 Regen. 2004-07-22 17:32:15 +00:00
mycroft 879ffbb84b Add 3c656 modem IDs. 2004-07-22 17:32:02 +00:00
mycroft bb76bd932b Add EX_CONF_INV_LED_POLARITY to a couple of the aforementioned entries. See
PR 23710.
2004-07-22 17:30:43 +00:00
dyoung 218f34f115 Protect userland from some of the definitions with #ifdef _KERNEL.
Thank you, Havard Eidnes, for the pointing out my oversight.
2004-07-22 17:04:38 +00:00
mycroft bb1bff398c Add entries for the 3c656 line. Should fix PR 22880. 2004-07-22 16:57:24 +00:00
lukem 2b0d144ab8 mtree -M 2004-07-22 16:52:54 +00:00
lukem 9cc32040b1 Implement -M to "merge" entries, even with different types.
This can be used in /etc/security to allow special.local to override
types of entries in special (e.g, replacing a dir with a link).

Rename Wflag to mtree_Wflag, to be more "external namespace" friendly.
2004-07-22 16:51:45 +00:00
mycroft 1925108989 If the bus number has not been initialized, do not attach a cardslot, and
output a diagnostic:
pccbbN: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
2004-07-22 16:39:51 +00:00
mycroft 9d70547685 If the CIS pointer in all-0s, don't try to read the CIS. 2004-07-22 16:18:32 +00:00
mycroft ba82a9e710 Program BARs before enabling memory or I/O access. 2004-07-22 15:48:17 +00:00
mycroft f85e332440 Use pmap_kenter_pa() to map pages to dump, not pmap_enter(), so that it's more
resistant to VM lossage.
2004-07-22 15:12:46 +00:00
wiz 6342bdaf2f Mention COMPAT_NETBSD32 applies to amd64 too.
Noted by Nicolas Joly in PR 26393.
2004-07-22 15:12:23 +00:00
wiz 769a05ea90 New sentence, new line; use more markup; next release
will be 3.0; sort sections; use \*[Lt]\*[Gt] instead of <> for HTML output.
2004-07-22 15:10:01 +00:00
mycroft eec7430f97 In *_fix_rate(), set ni_txrate to the highest common speed so that probe
and authentication responses are sent with a sensible speed.  XXX
2004-07-22 14:52:07 +00:00
mycroft 427f7b9264 The low-level drivers are not setting the "basic rate" bit in the rateset.
Instead, change *_set11gbasicrate() to *_setbasicrates(), have it operate on
all modes, and call it from *_ifattach().  Also, fix obvious bugs in it (it
had an off-by-one error, at least).
2004-07-22 14:44:17 +00:00
symka 7746038ffa Add myself as NetBSD Project Developer. (Folowed by e-mail from TNF). 2004-07-22 14:41:36 +00:00
he e3def7a76a It's not supposed to be possible to commit files with remnants of
CVS conflicts in them, but apparently this happened here around
__KERNEL_RCSID().  Fix it.
2004-07-22 09:43:19 +00:00
yamt 540e6d4640 rip6_output: make sure that the mbuf is writable
before write a checksum into it.
otherwise "ping6 -s50000" causes a panic.

ok'ed by itojun.
2004-07-22 05:26:46 +00:00
atatat 5276b9840f Note the sendmail auto-start change, add a note about the ath
reworking, and fix a little spacing and unnecessary abbreviation.
2004-07-22 03:55:33 +00:00
atatat d2dd73eec2 More better description of current state of sendmail stuff in more
places.  This is intended to make some people a tad happier.
2004-07-22 03:44:12 +00:00
atatat e0fb433b4f Add one more check to the sendmail auto-start heuristic: check the
value of MTAHost in the submit.cf.  If it doesn't indicate localhost,
we probably don't need the sendmail listener.

Addresses PR bin/26391.
2004-07-22 03:36:29 +00:00
manu d5cb507ae3 If struct sockaddr's sa_family must be transalted, then struct sockaddr
itself needs to be translated. It means that we must translate it in
every system call using it: recvfrom, sendto, connect, accept, bind,
getpeername, getsockname.
2004-07-21 23:43:25 +00:00
manu 828bbdacac Don't assume ARG_MAX < MAXPATHLEN: someone might build with a modified
constant
2004-07-21 21:45:34 +00:00
manu 00c1d07082 Simplify the socket translation code.
Have the same size in the darwin/native and native/darwin AF translators
2004-07-21 20:57:30 +00:00
tshiozak 09e09c2c2c make sure CITRUS=no to work. 2004-07-21 20:27:46 +00:00
tshiozak 39597367e4 add locale.alias(5) manpage. 2004-07-21 19:49:21 +00:00
tshiozak 3407ed183f add the default locale.alias. 2004-07-21 19:02:17 +00:00
tshiozak f1849eeaba - add support for "/force" symbol on locale.alias.
- a bit clean-up.
2004-07-21 18:51:30 +00:00
tshiozak 7b7f96b642 add prototype for load_locale_sub(). 2004-07-21 17:49:49 +00:00
mycroft 910fe04a63 Add the SiS 741, per PR 26394. 2004-07-21 16:40:50 +00:00
mycroft ce1d5354af Regen. 2004-07-21 16:39:51 +00:00
mycroft 6f1f410fae Add SIS 741. 2004-07-21 16:39:38 +00:00
tshiozak 335bc6323f add support for locale.alias file. 2004-07-21 14:18:16 +00:00
tshiozak 8ad8061809 use _citrus_lookup_alias() instead of __unalias(). 2004-07-21 14:17:22 +00:00
tshiozak 23affd3c41 make sure that _citrus_lookup family functions can be specified their case
sensitivity.
2004-07-21 14:16:34 +00:00