Commit Graph

138301 Commits

Author SHA1 Message Date
manu 771a32d331 Another NAT-T fix: don't check for port information in transport mode, as there
is no port information.
2005-07-03 22:57:09 +00:00
he d9075d644b We need to name parameters in function declaration... 2005-07-03 22:23:56 +00:00
he e1ffd766c2 Make the bugscopen() function match it's prototype. 2005-07-03 22:22:50 +00:00
he 7a4c4764d9 Remove "bad" label no longer in use. 2005-07-03 22:21:10 +00:00
uwe 70d5ff6a8a Make this file suitable for use in asm sources. 2005-07-03 22:18:32 +00:00
dyoung 8feed843ef Restore ALTQ-classification to the AP-bridge, as pointed out by
Bernd Ernesti.
2005-07-03 21:18:42 +00:00
dyoung fdf8c16f71 Refine an ieee80211_node-match using the SSID and the channel before
increasing the _node's beacon/probe count.
2005-07-03 21:10:27 +00:00
wiz 05db58f8f8 Update rxvt entry to the one coming with rxvt-2.7.10. 2005-07-03 21:00:59 +00:00
dyoung c511c45965 Don't load the ic_bss node into the sysctl result twice, as we
would do in IBSS mode if the ic_bss had not expired from the
scan/neighbor node-table.
2005-07-03 20:44:46 +00:00
dyoung c1446c092d Locking changes.
+ Synchronize ath_calibrate() with ATH_LOCK()/ATH_UNLOCK().  Thanks
  to Steve Woodford for suggesting this fix.  This patch stops
  ath(4) from generating messages "hardware error; resetting" while
  Steve's D-Link DWL-AG650 card is operating (kern/28385).  The
  MiniPCI wireless adapter on one of my Soekris boards also operates
  more reliably following this patch.

+ Use ATH_LOCK_IMPL() and family to synchronize access to the
  transmit queue, also.
2005-07-03 19:58:16 +00:00
dyoung f069ffb8c5 Create per-instance sysctl nodes for ath(4), e.g., hw.ath0.debug,
hw.ath1.debug.
2005-07-03 19:44:50 +00:00
dyoung 3ba3e0571b Bug fix: send all multicast data frames at the lowest possible data
rate, with short preamble turned *off*.  Fixes IBSS operation,
where multicast frames were sent at the highest possible rate with
short preamble turned *on*, so the likelihood of reception was
relatively low, and there was no chance for stations w/o short
preamble capability to receive the frames.

XXX This is a quick fix that I will revisit very soon.  Multicast
data frames are eligible to be sent with short preamble in
IEEE80211_M_STA, IEEE80211_M_HOSTAP modes.  An AP knows who all of
its peers are at all times, so it can make an intelligent decision.
Ditto the AP client.

XXX The rate adaptation should be involved in choosing short/long
preamble.  Also, we can make a reasonable choice of a higher
multicast data rate based on statistics gathered by the rate
adaptation module.
2005-07-03 19:42:10 +00:00
dyoung 967b5afe90 Cosmetic: repair indentation. 2005-07-03 19:31:03 +00:00
cube c4b8c745b9 Remove 'scsibus* at umass?'. It shouldn't be needed, as umass correctly
defines the scsi attribute.  So if a device doesn't work without that
attachment, it means there is a bug elsewhere we have to fix.
2005-07-03 19:23:29 +00:00
bsh af51d61dc0 make this compile again.
+ fix wrong prototype for obio_search()
 + avoid warning by const.
ANSIfy obio_search()
2005-07-03 18:10:53 +00:00
macallan 478cf01748 added ttyC00 and ttyC01 fopr the SPARCbook's internal modem and PCMCIA
modems
2005-07-03 18:08:53 +00:00
uwe a761e60e47 Add SH_INTEVT_WDT_ITI in intc_intr_priority. 2005-07-03 17:59:10 +00:00
cube 72f6b3a65c Constify machine32 and machine_arch32. 2005-07-03 17:18:02 +00:00
bsh d8876765c5 + use constants defined in xscalereg.h instead of 0x0001.
+ clear CPU cycle counter in pxaip_measure_cpuclock()
+ style.
2005-07-03 16:57:44 +00:00
cube 6f082c10a9 Make COMPAT_NETBSD32 emulate hw.machine. While it might seem wrong to do
so, it introduces breakage because a lot of applications make assumptions
from its value.  It's especially bad in the sparc64 case, where 64-bits
instructions can be used in 32-bits addressing mode.  However, there are
other means to know the capabilities of the CPU.
2005-07-03 16:53:46 +00:00
jdolecek e2ba6dc38f back-off 'use bounded string op' commit of 2003/08/13 - no real problem
has been fixed by it, but it introduced at least one bug

don't do any more of such gratuitous changes here, please
2005-07-03 15:18:11 +00:00
tron c4f205cf3a Install "afb" module again on systems which use an X11 server with
loadable modules and don't install the static "afb" library on systems
which use a static server. This fixes build problems introduced by
recent changes.
2005-07-03 14:30:52 +00:00
isaki 1328d7e8b2 Simplify pseudo-devices. 2005-07-03 13:09:17 +00:00
nonaka 654f6d544d fix timer prescaler definition. 2005-07-03 12:38:38 +00:00
cube 65570c38ef Move definitions for PCI_*_FIXUP to files.x86 so that ACPI compiles for
amd64...
2005-07-03 12:16:05 +00:00
isaki 426d6d0839 cfmatch_t was removed at sys/device.h rev 1.75,
and there is no need to cast for NULL.
2005-07-03 10:22:25 +00:00
he 34cf717530 Delete now unused "bad" label. 2005-07-02 23:08:21 +00:00
jdolecek 26e6b18165 note nawk update to 20050424 2005-07-02 20:19:50 +00:00
jdolecek 63f8f120ee nawk updated 2005-07-02 20:13:39 +00:00
jdolecek e6b9888ace resolve conflicts 2005-07-02 20:10:34 +00:00
jdolecek 5a4553e726 this should not have been committed, sorry 2005-07-02 18:58:15 +00:00
jdolecek e5687f9fff Update to nawk-20050424. Fixes several overflow and RE bugs, as well as
preserving $0 in END block.
2005-07-02 18:56:41 +00:00
tron 7e5f8bd1bf Move log entry for azalia(4) in list of changes for NetBSD 3.0 after
it has been pulled up into the "netbsd-3" branch.
2005-07-02 16:49:14 +00:00
jdc 5ffaff9f39 Tidy up curses state when we quit, instead of just doing exit(). 2005-07-02 15:48:03 +00:00
rpaulo f9ef5df9fc Uncomment WSDISPLAY_SCROLLSUPPORT. A lot of people ask for this feature
and it doesn't make much sens to recompile just to have scrolling support.

Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-07-02 11:19:23 +00:00
wiz 3b8ef989f3 Sort SEE ALSO. 2005-07-02 10:59:10 +00:00
wiz 0dab3b253e Sort sections. Use mdoc macros. Reformat. 2005-07-02 10:46:21 +00:00
wiz 2f511b7404 Removing trailing spaces. 2005-07-02 10:40:50 +00:00
wiz 370088dd17 Sort options. Refer to deroff(1) for -m description.
pipe lines through fmt.
2005-07-02 10:39:13 +00:00
wiz d54d971520 Use more macros. Sort -m arguments and fix their descriptions.
Break some lines to fit 80 characters per line.
2005-07-02 10:29:44 +00:00
jmc 4f50e1e42e KNF conversion 2005-07-02 08:35:29 +00:00
jmc 1f90022eca KNF and WARNS=3 2005-07-02 08:32:32 +00:00
rtr 576dfb977c no xttcap.c in this module 2005-07-02 08:28:58 +00:00
dsainty 9c7c838ae3 bthcipoll must not return <sys/errno.h> error codes, return POLLERR/POLLHUP
instead.  Fixes a small part of PR/30566.

Also check for a set 'dying' flag here, and include it in the POLLHUP
case.
2005-07-02 07:50:34 +00:00
blymn 39f1a744f7 Add attach call so coda gets added to list of vfs supported by the kernel. 2005-07-02 07:05:27 +00:00
dsainty 867423adde Force LBA48 access to ST3160827AS drives. Without this change the entire
system hangs whenever a read or write request to sector 0xfffffff occurs.

The hang appears to happen when:

status = bus_space_read_1(wdr->cmd_iot, wdr->cmd_iohs[wd_status], 0);

is executed in __wdcwait(), and it is not possible to enter the debugger or
make the system respond at all after this point.

Whilst not necessarily the most prudent solution to handling the large number
of drives that exhibit this problem, it is currently the popular workaround.

[An alternative approach is to just always drop to LBA48 if the request
happens to pass by sector 0xfffffff and the drive reported as larger than
0xfffffff sectors.  My understanding is that the 32 bit addressing below
0x10000000 is purely there as a performance booster, not to resolve a
compatibility issue.]
2005-07-02 04:29:01 +00:00
dsainty 432d19fe4b By setting close-on-exec on the USB HID device descriptor, prevent passing an
extraneous descriptor to the command defined as the action to take on a
particular HID event.

This also avoids an unfortunate side-effect: killing and restarting
usbhidaction would sometimes fail because of a lingering open descriptor for
the same device on a process executed by the previous run of usbhidaction.

[OK'd by Lennart]
2005-07-02 04:05:09 +00:00
martin 50d158617a Delete now unused "bad" label 2005-07-01 20:16:24 +00:00
drochner 8728cee448 add autoconf glue for the ralink wireless drivers, basically from
PR kern/30449, but changed so that pci/cardbus and usb devices
are all called "ral" to the user, so that code can be shared eventually
2005-07-01 20:11:20 +00:00
drochner c1834d85c2 add drivers for Ralink RT2500-based wireless adapters, written by
Damien Bergamini, ported and submitted by FUKAUMI Naoki per PR kern/30449
I've modified the USB "ural" driver for recent changes to the NetBSD
ieee80211 framework, possibly not completely, but with an ASUS wireless
adapter I'm getting some signs of life.
Didn't care about pci/cardbus for now, hopefully someone with hardware
will do it.
2005-07-01 20:06:56 +00:00