Commit Graph

79737 Commits

Author SHA1 Message Date
christos 02b2f1b2b5 Provide ppp like statistics instead of grovelling through the kernel
symbols.
2006-03-02 17:20:07 +00:00
gdt 94a375ec39 Change type of 'inode' member of struct coda_open_out to ino_t. This
holds a host system inode denoting a container file, not a coda inode
type.  Tested with CVS coda on i386.  Reviewed by christos@.
2006-03-02 14:24:57 +00:00
martin 36eba36d08 Add glue to make ath* usable on sparc64. 2006-03-02 10:44:33 +00:00
dyoung 54f0651a7c Build the right HAL for NetBSD/macppc. 2006-03-02 05:12:25 +00:00
dyoung 8bc5b41214 In nd6_llinfo_timer, don't duplicate part of nd6_llinfo_settimer's
logic, and then call nd6_llinfo_settimer.   Instead, call
nd6_llinfo_settimer immediately.

This should cause no functional change.  I've been running this
patch for months.
2006-03-02 05:11:31 +00:00
dyoung 25e9e914b4 Miscellaneous ath(4) and net80211 updates and bug-fixes coming from
sam@ and various open source repositories:

ath(4):

        Ignore "phantom" beacon misses: should stabilize connections
        to access points (no more ceaseless link-UP/DOWN indications).
        Also, re-synchronize beacon timer using the TSF in the
        first beacon received after joining a BSS---this should
        also help suppress spurious beacon misses.  I am hopeful
        that this will help ath(4) lossage reported by perry@ and
        smb@.

        Add new configuration through sysctl.

        Use a shorter calibration interval until IQ calibration
        finishes.

        Report antenna noise through radiotap.

        Rudiments of Radar Detection / Dynamic Frequency Selection.

        Update to HAL version 0.9.16.13.

        Update open sources for changes to the HAL API.

        Add HALs for additional architectures: add big-endian ELF
        HALs for sparc64 and for PowerPC.  Also add a Alpha HAL.
        These new HALs are untested under NetBSD.

ath(4) + net80211:

        Make the multicast transmit rate configurable by ioctl.

        Miscellaneous bug fixes.
2006-03-02 03:38:26 +00:00
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
cube 0666ca366e Fix md(4) like raid(4) was fixed. 2006-03-01 22:12:09 +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
rpaulo 5bb59eeab9 Back out revision 1.125 and 1.124. The code for checking if
slp->ns_reclen == 0, was already there since "Linux sometimes
generates 0-lenght records.".

Bad Rui...
2006-03-01 21:31:00 +00:00
scw c9e50b3c22 Simpify GPIO bits for power/reset buttons, and squash a (mostly harmless)
bug in the GPIO pin direction code.
2006-03-01 21:02:50 +00:00
shige 1a099b7e5a Fix invalid array initialization. 2006-03-01 20:21:41 +00:00
bouyer 7aeabae8ba Remove wscons options, XENU doens't have any wscons device. 2006-03-01 19:41:12 +00:00
rpaulo 52dc289cfd In nfsrv_getstream(), ns_reclen will never be negative due to the
previous assignment (recmark & ~0x80000000).
Pointed out by Christos.
2006-03-01 19:38:29 +00:00
gdamore 6e5dbc3f2f Add pci_find_rom() API as discussed on tech-kern. 2006-03-01 18:53:39 +00:00
shige fc14a8a6bb Fix base-address for PSC devices. 2006-03-01 18:35:28 +00:00
rpaulo b948e12637 From FreeBSD SA-06:10
Correct a remote kernel panic when processing zero-length RPC records
	via TCP.
2006-03-01 15:30:12 +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
christos a529c06750 PR/32856: Christian Biere: Don't panic if you send a control message with
SCM_RIGHTS on an unconnected stream socket.
2006-03-01 02:06:11 +00:00
kleink 1c977dd5bd Fix inverted device_is_a() logic in previous conversion. 2006-02-28 23:10:49 +00:00
kleink 774f60551c Fix inverted device_is_a() use logic in previous. 2006-02-28 23:08:20 +00:00
kleink 57e7956122 Fix inverted device_is_a() use logic in rev. 1.4. 2006-02-28 23:02:28 +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
scw 6f6167730e A port of NetBSD to the Linksys NSLU2 (a.k.a. "Slug").
The NSLU2 (Network Storage Link for USB 2.0 Disk Drives) is a small, *cheap*
NAS device consisting of an Intel IXP420 (Xscale) CPU, a 10/100mbit Ethernet
port, and two USB 2.0 ports. It has 32MB of SDRAM and 8MB of Flash memory,
and runs RedBoot/Linux out of the box. Now it can also run NetBSD.
2006-02-28 20:40:33 +00:00
scw c40da0c0a2 Include "device-major sysmon" when sysmon_power is defined. 2006-02-28 20:36:51 +00:00
thorpej 4a6eb41916 Use device_is_a() even more. 2006-02-28 06:30:35 +00:00
simonb 5034f87d7b Fix fallout from obviously untested device_is_a() rototill. 2006-02-28 01:16:59 +00:00
rpaulo a0814a3043 Add full support for IPv6 tunnels. From DEGROOTE Arnaud in PR 32944.
The PR submitter and the PR handler were unable to test this code
using Teredo userland clients such as Miredo. However, the PR handler
dumped and analyzed some of the packets produced by Miredo and they
seemed fine.
(On a side note: I was unable to setup Teredo in Windows XP and the
problem seemed similar to what I currently see in NetBSD: lack of
replies from the Teredo relay).
2006-02-28 00:38:35 +00:00
gdamore 7572f01aa0 Masking for mstart was still *not* right. This time I'm fairly sure I got
it right -- OMSAL400 and MTX-1 boards should have functional PCI now.
2006-02-27 21:10:27 +00:00
shige 32d0f6374a Remove hptide, and ata related devices.
OMS-AL400 has no hptide device.
2006-02-27 20:50:48 +00:00
xtraeme b9993157d7 PR port-i386/32864: Neil Ludban. Pentium M 760 SpeedStep support. 2006-02-27 19:25:45 +00:00
xtraeme c1ca5092a9 Add support for the Pentium M 773, 758 and 778 matching
against the correct cpuid. Adapted from OpenBSD.
2006-02-27 18:37:03 +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
drochner be8cb1f8b9 add missing DLTs from the libpcap-0.9.4 distribution 2006-02-27 14:22:26 +00:00
jmcneill cf4e65bbe1 Disable vesafb_powerhook for now. 2006-02-27 13:41:40 +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
drochner 4cf9c4d0dc fix bpf_validate():
a missing "break" caused any bpf filter containing
a division to be rejected
2006-02-27 11:42:58 +00:00
peter a3d9242e4a Add (empty) machine_standby and machine_sleep functions, which will be
needed for hpcapm(4).
2006-02-27 11:34:35 +00:00
he 2910d4c72c The WALNUT port has now grown a dependency of ibm4xx_autoconf.c via
ibm4xx_device_register(), so include that file in the kernel build.
2006-02-27 11:04:31 +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
dyoung 866e8c46e0 Move the SIOCS80211, SIOCG80211STATS, SIOCG80211ZSTATS definitions
nearer the top of ieee80211_ioctl.h for easy comparison with their
FreeBSD counterparts (which should just go away).
2006-02-27 06:09:10 +00:00
dyoung 23d456226f Add link-layer specific flags, M_LINK[456], for future use by
net80211, especially transmit-packet fragmentation and "fast frames."
2006-02-27 05:46:39 +00:00
dyoung e597d2a713 Simplify SIOCS80211BSSID, making it work just like IEEE80211_IOC_BSSID.
The upshot is that the interface is *always* reset when a BSSID is
configured.  While I am here, rename unwieldy empty_macaddr variable
to zerobssid.
2006-02-27 05:44:53 +00:00
gdamore 43518cac14 Incorrect pci_mbar/pci_mwmask related calculation was causing devices to be
inaccessible on some platforms.
2006-02-27 05:02:50 +00:00