Commit Graph

169260 Commits

Author SHA1 Message Date
syrinx
cdf73327e5 Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.
Sponsored by:	The FreeBSD Foundation
Reviewed by:	philip
Approved by:	philip
2010-12-20 17:13:14 +00:00
tijl
0f810ef0a2 Merge amd64 and i386 bus.h and move the resulting header to x86. Replace
the original amd64 and i386 headers with stubs.

Rename (AMD64|I386)_BUS_SPACE_* to X86_BUS_SPACE_* everywhere.

Reviewed by:	imp (previous version), jhb
Approved by:	kib (mentor)
2010-12-20 16:39:43 +00:00
netchild
1788698585 Suggest to run the delete-old target after the second mergemaster. If you run
it before, your rc scripts may still reference old files/directories and
if you are in the unlucky situation to have triggered a reboot (intentionally
or not) between the delete-old run and the mergemaster, your system may not
start anymore.

While I'm here, give a hint about delete-old-libs.

Noticed by:	bcr (luckily in a discussion and not by getting hit by this)
MFC after:	1 week
2010-12-20 15:17:34 +00:00
jhb
6135a630c9 Don't whine about child drivers calling pci_enable_busmaster(). That is
perfectly normal.

MFC after:	1 week
2010-12-20 14:54:24 +00:00
nwhitehorn
84fc9a4631 Memory can be laid out with large gaps on 64-bit PowerPC, so switch to
VM_PHYSSEG_SPARSE.
2010-12-20 14:25:01 +00:00
charnier
2c12157d7b Add __unused. Ansi prototypes. 2010-12-20 09:36:54 +00:00
charnier
c30b6f1bc3 Add __unused. Ansi prototypes. 2010-12-20 09:28:28 +00:00
charnier
e298432a1c Add __unused. Ansi prototypes. 2010-12-20 08:54:30 +00:00
charnier
6ef0f9c11c Add __unused 2010-12-20 08:47:43 +00:00
charnier
5ed91a1e7d Add __unused 2010-12-20 08:44:08 +00:00
charnier
02e9ed10af Add __unused 2010-12-20 08:37:26 +00:00
charnier
89b5c05930 Add __unused. Ansi prototypes. 2010-12-20 08:29:54 +00:00
yongari
691fb06610 Oops, fwe(4) listed twice. 2010-12-20 00:27:40 +00:00
yongari
b0f41e9105 Add ae(4) to the list of drivers use the miibus interface. 2010-12-20 00:23:47 +00:00
yongari
5b70d78c37 igb(4), ixgbe(4), mxge(4) and nxge(4) support VLAN hardware tag
insertion/stripping.
et(4) and fwe(4) support VLAN oversized frames.
2010-12-20 00:10:53 +00:00
yongari
664b4c0ec0 Add .Xr to altq(4). 2010-12-19 23:54:31 +00:00
yongari
8c00fd06e9 Add .Xr to altq(4). 2010-12-19 23:53:23 +00:00
yongari
37f3fa92d6 ae(4), igb(4), ixgb(4) and ixgbe(4) supports altq(4). 2010-12-19 23:50:36 +00:00
simon
b19345a9d7 Add --numeric-owner to tar extract operations in portsnap.
This is done to speed up extraction significantly (both for portsnap
extract and update) in the case of slow NSS modules (like nss_ldap) as
it avoids having to look up uid and gid for root / wheel.

The reason this is a bigger problem for portsnap than for many other
system operations, is that portsnap executes tar(1) once for each port
so the internal uid/gid caching in tar(1) only helps a bit, resulting
in many user lookup calls.

Discussed with:	cperciva
2010-12-19 23:09:42 +00:00
kib
3d12be787f Restore the ABI of struct kinfo_proc32 after r213536.
MFC after:	3 days
2010-12-19 21:18:33 +00:00
pjd
96b9ced89f Correct cookie type to match reality. 2010-12-19 18:07:10 +00:00
pjd
c1aba2a1e9 Reduce lock scope a little. 2010-12-19 18:06:20 +00:00
charnier
f4859bef57 Add __unused. Ansi prototypes. 2010-12-19 16:25:23 +00:00
nwhitehorn
708cd7af18 Garbage-collect unused variable. 2010-12-19 16:07:53 +00:00
charnier
d91692bf4c Add __unused. Ansi prototypes. 2010-12-19 14:18:07 +00:00
charnier
274d20934e Add __unused. Ansi prototypes. 2010-12-19 13:40:38 +00:00
charnier
7587c23cc2 add __unused 2010-12-19 13:05:17 +00:00
bschmidt
0c41bc7599 Update firmware for wpi(4) from version 2.14.4 to 15.32.2.9.
PR:		kern/142907
Submitted by:	Craig Butler <craig001 at lerwick.hopto.org>
MFC after:	2 weeks
2010-12-19 11:37:44 +00:00
tijl
9a41478439 Fix a bug introduced in r216518. The ndis_subsys field holds the PCI
subdevice ID in addition to the subvendor ID.

Reported by:	Paul B Mahol 'onemda gmail com'
Approved by:	kib (mentor)
2010-12-19 11:14:34 +00:00
bschmidt
fb1c27a83b Fix panic trying to use monitor mode. The iwn_cmd() calls issued by
iwn_config() want to msleep() on the mutex.

PR:		kern/138427
Submitted by:	Henry Hu <henry.hu.sh at gmail.com>
MFC after:	3 days
2010-12-19 10:36:06 +00:00
bschmidt
3a8f983977 Fix build on bigendian archs. 2010-12-19 09:18:14 +00:00
alc
6b1bd17ab4 Redo some parts of r216333, specifically, the locking changes to
pmap_extract_and_hold(), and undo the rest.  In particular, I forgot
that PG_PS and PG_PTE_PAT are the same bit.
2010-12-19 07:31:56 +00:00
yongari
345c9cac1a Document JMC251/JMC261 support. 2010-12-19 00:00:29 +00:00
yongari
b52a1b882d Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet
controller with Card Read Host Controller. These controllers are
multi-function devices and have the same ethernet core of
JMC250/JMC260. Starting from REVFM 5(chip full mask revision)
controllers have the following features.
 o eFuse support
 o PCD(Packet Completion Deferring)
 o More advanced PHY power saving

Because these controllers started to use eFuse, station address
modified by driver is permanent as if it was written to EEPROM. If
you have to change station address please save your controller
default address to safe place before reprogramming it. There is no
way to restore factory default station address.

Many thanks to JMicron for continuing to support FreeBSD.

HW donated by:	JMicron
2010-12-18 23:52:50 +00:00
yongari
f652d40af3 Use system defined PCIR_EXPRESS_DEVICE_CTL instead of using magic
number.
2010-12-18 23:26:38 +00:00
yongari
20b0b89133 Make sure whether driver allocated resource before releasing it. 2010-12-18 23:24:59 +00:00
yongari
fdbb86802d Fix a regression introduced in r213893. FPGA version requires PHY
probing so allow PHY probing on all possible addresses.
2010-12-18 23:21:16 +00:00
jilles
84941f8297 sh: arith: Disallow decimal constants starting with 0 (containing 8 or 9).
Constants in arithmetic starting with 0 should be octal only.

This avoids the following highly puzzling result:
  $ echo $((018-017))
  3
by making it an error instead.
2010-12-18 23:03:51 +00:00
yongari
2a8eefc56b Consistently put a tab character between #define and the macro name. 2010-12-18 23:03:38 +00:00
uqs
bd917baec5 Remove dead code.
c is assigned 0 and *loc is pointing to NULL, so c!=0 cannot be true,
and dereferencing loc would be a bad idea anyway.

Coverity Prevent:	CID 5113
Reviewed by:		jilles
2010-12-18 22:16:15 +00:00
lulf
97ef6c1ba4 - Signal that data should not be modified. 2010-12-18 20:43:18 +00:00
bschmidt
2bbf443a5b Unbreak hostapd. This code has been explicitly removed in upstream versions. 2010-12-18 20:29:41 +00:00
bschmidt
d28d2b63f1 Fix some whitespace nits. 2010-12-18 20:27:09 +00:00
bschmidt
c979129599 Change order in wpa_driver_bsd_ops to match upstream code. Add description
while here.
2010-12-18 20:25:25 +00:00
bschmidt
7f5fd9f20e Add a comment explaining the undefs, while here remove one which is not
required.
2010-12-18 20:23:28 +00:00
bschmidt
ae056a2459 Rename bsd_set_iface_flags to bsd_ctrl_iface and change arguments to match
upstream. For the same reason rewrite bsd_get_seqnum.
2010-12-18 20:22:15 +00:00
bschmidt
428cbdd872 Import bsd_configure_wpa() to sync with upstream code. 2010-12-18 20:17:10 +00:00
bschmidt
d18aa716c5 Prefer os_memset, os_strlcpy and os_free. While here adjust the return
value checks for 2 ioctl calls and rewrite error handling in bsd_init
to better integrate with upstream code.
2010-12-18 20:15:47 +00:00
bschmidt
aeb5d16357 Remove some unused variables and unnecessary casts. 2010-12-18 20:13:42 +00:00
bschmidt
b081c6596f Remove debug messages which are no longer present in upstream code. While
here remove some explicit line breaks.
2010-12-18 20:11:09 +00:00