gjb
c12b44c606
General mdoc(7) and typo fixes.
...
PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-10 02:07:00 +00:00
sbruno
c5b8ea046e
Modify the binding of queues to attach to as many CPUs
...
as possible when using more than one igb(4) adapter. This
means that queues will not be bound to the same CPUs if
there are more CPUs availble.
This is only applicable to a system that has multiple interfaces.
Obtained from: Yahoo! Inc.
MFC after: 3 days
2012-05-10 00:00:28 +00:00
eadler
1d7eb4dfbb
Add a few new tips and update some old ones to more modern commands
...
MFC after: 1 week
2012-05-09 22:13:56 +00:00
eadler
b9dff5c3f7
make it easier for users used to a VCS that allows up to be a shortcut
...
for update.
PR: bin/152856
Approved by: cperciva
MFC after: 3 days
2012-05-09 21:56:10 +00:00
marius
25b8009240
Use a non-tricky approach for building and installing zfsboot sharing
...
the Makefile with boot1.
Submitted by: ru
2012-05-09 19:08:54 +00:00
adrian
f2b0ca2bf1
Add some empty DFS methods for AR5210/AR5211 for now, if DFS is enabled
...
but these don't exist, the code panics.
I should really just add or use a DFS HAL capability before doing this,
so the methods wouldn't be needed..
2012-05-09 18:17:01 +00:00
eadler
96cc1902f8
Document the -c option in --help output
...
PR: bin/167463
Submitted by: "Bryan Drewery" <bryan@shatow.net>
Approved by: cperciva
MFC after: 3 days
2012-05-09 17:32:10 +00:00
eadler
bcf9dd59e8
Add some missing files to OLD_FILES
...
PR: conf/166460
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by: stable@
Approved by: cperciva
MFC after: 2 weeks
2012-05-09 17:30:44 +00:00
eadler
1f3c3da601
Submitted by: gavin, pjd
...
Approved by: cperciva
MFC after: 3 days
2012-05-09 17:29:07 +00:00
eadler
e77f7b7efa
Remove reference to non-existent FreeBSD Security Architecture
...
Approved by: cperciva
MFC after: 3 days
2012-05-09 17:27:49 +00:00
eadler
58bd935b72
Clarify error that geli generates
...
when it finds corrupt data.
PR: kern/165695
Submitted by: Robert Simmons <rsimmons0@gmail.com>
Reviewed by: pjd
Approved by: cperciva
MFC after: 1 week
2012-05-09 17:26:52 +00:00
pluknet
3ec8c43aba
Revert r235194: 10.8 appears to be a developer preview.
...
Reported by: trasz
2012-05-09 16:06:20 +00:00
pluknet
459b5e5753
Mac OS X 10.8 added (belatedly).
2012-05-09 15:22:39 +00:00
avg
2ac1a4e270
r235154 followup: add stddef.h for offsetof
...
MFC after: 1 month
2012-05-09 08:23:24 +00:00
avg
c327cf0810
i386 zfsloader: rename LIBZFS to LIBZFSBOOT
...
... to avoid name clash with the other libzfs
MFC after: 1 month
2012-05-09 08:07:08 +00:00
avg
eff14f3f2c
i386 boot: consolidate MAXBDDEV definition
...
MFC after: 1 month
2012-05-09 08:05:50 +00:00
avg
a5d68259c2
btxldr: future-proof argument passing from boot1/2-ish to loader
...
Place the arguments at a fixed offset of 0x800 withing the argument area
(of size 0x1000). Allow variable size extended arguments first of which
should be a size of the extended arguments (including the size
parameter).
Consolidate all related definitions in a new i386/common/bootargs.h header.
Many thanks to jhb and bde for their guidance and reviews.
Reviewed by: jhb, bde
Approved by: jhb
MFC after: 1 month
2012-05-09 08:04:29 +00:00
avg
c4c31a507d
sys/boot: add common CTASSERT definition
2012-05-09 07:55:42 +00:00
imp
f8f35ffdf5
Make is part of the bootstrap path, so we need to guard against this
...
not being defined. Otherwise we don't make a new make when the old
make is incompatible.
2012-05-09 04:54:50 +00:00
yongari
62a2488823
Implement basic remote PHY support. Remote PHY allows the
...
controller to perform MDIO type accesses to a remote transceiver
using message pages defined through MRBE(multirate backplane
ethernet). It's used in blade systems(e.g Dell Blade m610) which
are connected to pass-through blades rather than traditional
switches.
This change directly manipulates firmware's mailboxes to control
remote PHY such that it does not use mii(4). Alternatively, as
David said, it could be implemented in brgphy(4) by creating a fake
PHY and let brgphy(4) do necessary mii accesses and bce(4) can
implement mailbox accesses based on the type of brgphy(4)'s mii
accesses. Personally, I think it would make brgphy(4) hard to
maintain since it would have to access many bce(4) registers in
brgphy(4). Given that there are users who are suffering from lack
of remote PHY support, it would be better to get working system
rather than waiting for complete/perfect implementation.
Tested by: Jan Winter ( jan.winter <> kantarmedia dot de )
Reviewed by: davidch (initial version)
MFC after: 2 weeks
2012-05-09 01:55:23 +00:00
brooks
cf039ecfbb
The DDB_CTF has little or nothing to do with the debugger so move it
...
next KDTRACE_HOOKS.
2012-05-09 01:37:48 +00:00
thompsa
1e276e2841
Do not reinitialise the interface if it is already running, this prevents the
...
bootp+nfs code from working as it calls init on each dhcp send and rx fails to
start in time.
2012-05-09 00:56:11 +00:00
davidch
680cd1f369
- Rename sysctl "loose_rx_mtu" to "strict_rx_mtu" to match code usage.
...
Submitted by: davidch
MFC after: 1 day
2012-05-08 22:38:46 +00:00
thompsa
6bb78e3c4c
The DEVICE_POLLING dereference of sc->tsec_ifp needs to be checked for null
...
first or this will panic. Condense three blocks that check sc->tsec_ifp into
one while I am here.
2012-05-08 21:09:03 +00:00
kib
27d9e6e27d
Plug a leak.
...
Submitted by: Greg Bednarek <gbednarek averesystems com>
MFC after: 1 week
2012-05-08 19:47:52 +00:00
jlh
da2bdbf902
Always define LD_32_PRELOAD so it works for 32 bits binaries on
...
64 bits platforms. Let rtld(1) decide if it needs to honor it
or not.
While here, fix a small bug in error reporting when asprintf(3)
returns an error.
Submitted by: kib
Reviewed by: kib (mentor)
MFC after: 1 week
2012-05-08 19:43:32 +00:00
gjb
52487d9a5c
General mdoc(7) and typo fixes.
...
PR: 167713
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
2012-05-08 18:56:21 +00:00
ume
8120b09fe9
Add -a and -A option to the usage.
...
MFC after: 1 week
2012-05-08 15:18:35 +00:00
jwd
f638b8eae1
Use the common api helper routine instead of freeing the namei
...
buffer directly.
Approved by: rmacklem (mentor)
MFC after: 1 month
2012-05-08 03:39:44 +00:00
adrian
0803e21ea9
Re-enable this particular DELAY() for now, at least until the
...
TX and RX PCU stop/drain routines have been thoroughly debugged.
It's also very likely that I should add hooks back up to the
interface glue (if_ath_pci / if_ath_ahb) to do any relevant
bus flushes that are required. A WMAC DDR flush may be required
for the AR9130 SoC.
2012-05-07 18:30:22 +00:00
dim
66daa7f73f
Revert r234656, and apply a proper fix for binutils PR 10474, which
...
caused linking clang on 32-bit PowerPC to fail with "relocation
truncated to fit: R_PPC_REL24" errors.
Original diffs (relicensed under GPLv2 with permission from author):
http://sourceware.org/git/?p=binutils.git;a=commit;h=1fd262ff7d7ea5adf4894c6b960e092e7e43e3cd
http://sourceware.org/git/?p=binutils.git;a=commit;h=053c49fbff58bd33bd0d12200ea61302f92caceb
Tested by: andreast
MFC after: 1 week
2012-05-07 17:13:36 +00:00
jhb
6837ff0b32
Display dropped transmit packets in the daily network interface output.
...
PR: conf/165956
Submitted by: Jeremy Chadwick
MFC after: 1 week
2012-05-07 15:41:31 +00:00
avg
4b75b9fd05
zfsboottest.sh: correctly check and suggest value of vfs.root.mountfrom
...
... it was missing "zfs:" prefix.
Reported by: theraven
MFC after: 10 days
2012-05-07 15:06:07 +00:00
avg
21b948097d
zfsboottest.sh: gracefully handle default value of bootfs property
...
Reported by: theraven
MFC after: 10 days
2012-05-07 15:03:42 +00:00
hselasky
2463f208a2
Add missing LibUSB 1.0 API function: libusb_get_string_descriptor().
...
Reported by: Xiaofan Chen
2012-05-07 14:07:13 +00:00
jlh
4b07a79925
Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) script
...
instead of a symlink for .so files.
Reviewed by: kib, kan (previous version), dim
Approved by: kib (mentor)
Silence from: -hackers@
MFC after: 1 week
2012-05-07 09:00:30 +00:00
yongari
74d5826dee
Restore jumbo frame configuration which was broken in r218423.
...
Submitted by: Andrey Zonov <andrey <> zonov dot org > (initial version)
Tested by: Andrey Zonov <andrey <> zonov dot org >
MFC after: 1 week
2012-05-07 04:56:26 +00:00
jmallett
e3d4e68217
Add basic SMP support for GXemul. Ideally we would have some way to override
...
some of the IPI mechanisms used by the common MIPS SMP code so we could use
the multicast IPI facilities, on GXemul as well as on several real hardware
platforms, and the ability to have multiple hard IPI types.
2012-05-07 04:36:48 +00:00
jmallett
e79d08972f
Add a trivial driver for the GXemul Ethernet device. Probably quite buggy and
...
certainly non-optimal, but enough for basic networking use.
Requested by: rwatson
2012-05-07 04:15:46 +00:00
stas
03c86f379d
- Bump the manpage date after kfd addition.
...
Reported by: gjb
2012-05-07 02:50:52 +00:00
stas
6aab9c91f4
- Document kfd(8) rc.conf variables in the manpage.
2012-05-06 21:05:58 +00:00
stas
b7aef556c5
- Change kfd rc script to be more conformant with rcNG conventions:
...
o change rcname to kfd;
o move mandatory options to command_args;
o add missing "shutdown" keyword;
o fix require line. Kfd doesn't really need to be started before
daemons.
Suggested by: dougb
2012-05-06 20:46:04 +00:00
pluknet
98c7a528a1
OpenBSD 5.1 added.
2012-05-06 19:03:36 +00:00
kib
3dbcbd0421
Add definition for the -z nodefaultlib flag.
...
MFC after: 3 days
2012-05-06 18:34:31 +00:00
mav
64e3d8819b
Remove some hardcoded constants from code.
2012-05-06 16:41:27 +00:00
kientzle
cc15a03059
Ooops. Back out changes to main.c from r235094.
...
This change is specific to BeagleBone; I need to figure out how to
generalize this before committing.
2012-05-06 16:32:28 +00:00
kientzle
28b765c847
Don't call strcmp with a NULL pointer.
...
In particular, on the AM335x, which comes up with no memory
mapped to low addresses, dereferencing the NULL causes a crash.
2012-05-06 16:01:58 +00:00
tuexen
dfb886ebd0
Address clang warnings.
...
MFC after: 3 days
2012-05-06 14:50:54 +00:00
tuexen
b5cb1ff1a3
Add support for the sac_info field in struct sctp_assoc_change
...
as required by RFC 6458.
MFC after: 3 days
2012-05-06 13:09:13 +00:00
mav
6710f450f7
Plug small memory leaks.
2012-05-06 12:55:20 +00:00