121976 Commits

Author SHA1 Message Date
pav
04c9341f42 MFC 1.31-1.32:
- Revert previous revision, it was incorrect
  - Add an example using fdisk instead
2007-06-11 19:09:49 +00:00
njl
0fea200d19 MFC: add suspend method to stop Cx idling and fix a logic bug in per-CPU
Cx sysctl.
2007-06-11 18:54:09 +00:00
jinmei
f7b4cdb9db MFC:
cleanup about the reassembly structures and routine:
  - removed unused structure members
  - fixed a minor bug that the ECN code point may not be restored correctly

Approved by:    ume (mentor)

src/sys/netinet6/frag6.c:  	1.31
src/sys/netinet6/ip6_var.h:  	1.38
2007-06-11 17:04:10 +00:00
kib
a4eb58d102 Bump __FreeBSD_version for BOP_BDFLUSH MFC 2007-06-11 11:54:16 +00:00
kib
871318d35c MFC
rev. 1.521 of src/sys/kern/vfs_bio.c
rev. 1.477 of src/sys/sys/proc.h

Disable nesting of BOP_BDFLUSH().
2007-06-11 11:27:04 +00:00
kib
b75617bf6d MFC:
rev. 1.11 of src/sys/geom/geom_vfs.c
rev. 1.516 of src/sys/kern/vfs_bio.c
rev. 1.35 of src/sys/nfs4client/nfs4_vnops.c
rev. 1.272 of src/sys/nfsclient/nfs_vnops.c
rev. 1.195 of src/sys/sys/buf.h
rev. 1.18 of src/sys/sys/bufobj.h
rev. 1.73 of src/sys/ufs/ffs/ffs_extern.h
rev. 1.133 of src/sys/ufs/ffs/ffs_snapshot.c
rev. 1.324 of src/sys/ufs/ffs/ffs_vfsops.c

Avoid dealing with buffers in bdwrite() that are from other side of
snaplock divisor in the lock order then the buffer being written. Add
new BOP, bop_bdwrite(), to do dirty buffer flushing for same vnode in
the bdwrite(). Default implementation, bufbdflush(), refactors the code
from bdwrite(). For ffs device buffers, specialized implementation is
used.

This commit changes KPI/KBI, thus recompilation of out of tree kernel
modules is required.

Approved by:	re (kensmith)
2007-06-11 10:53:48 +00:00
jinmei
f3d7053114 MFC:
fixed memory leak for IPv6 multicast membership information associated
with interface addresses.

Approved by:    gnn (mentor)

src/sys/netinet6/in6.c:			1.71
src/sys/netinet6/in6_ifattach.c:	1.36
src/sys/netinet6/in6_var.h:		1.31
2007-06-10 17:17:55 +00:00
maxim
2903a43579 MFC rev. 1.103: make ipfw(8) show rules with mac/mac-type options
correctly.
MFC rev. 1.105: teach get_mac_addr_mask() to not silently accept
incorrect MAC addresses.
2007-06-10 13:59:36 +00:00
kib
4b29bb4d0d MFC remnant of rev. 1.7. 2007-06-10 11:09:39 +00:00
dwmalone
828724ce61 MFC 1.30: Help ng_fec deal with multicast addresses.
This isn't exactly the same patch as in -current as some of the
in-kernel multicast API is different.
2007-06-10 07:41:25 +00:00
dwmalone
5d78f699f3 MFC 1.209: Don't verify UDP IPv4 checksum in-place. 2007-06-10 07:29:08 +00:00
dwmalone
bdc1ef1350 MFC: Fix some warnings by making things const, adding missing headers,
removing some unused variables and making a variable unsigned.
2007-06-10 07:04:09 +00:00
matteo
dcf99d1830 MFC:
rpcbind.c: rev. 1.15, 1.16, 1.17
	rpcbind.8: rev. 1.10

1)Make it possible for rpcbind(8) to bind TCP listening socket to an IP
other than INADDR_ANY.

2) Add the -6 option to specify "IPv6 only".

PR:	84494, 1122566
2007-06-09 09:28:30 +00:00
ariff
cff0f46172 MFC: (revision 1.9)
Fix (enable) phone out for laptops with ALC655, specifically
for Amilo Pro V2055.

PR:		kern/113101
Submitted by:	konrad@egipt-medytacje.pl
2007-06-08 17:33:38 +00:00
jhb
9d24797190 MFC 1.139: Fix a snafu in the changes in 1.138.
PR:		kern/113387
Submitted by:	Andre Albsmeier
2007-06-08 16:51:20 +00:00
pav
ba23ddcf99 MFC addition of bsd.port.options.mk 2007-06-08 16:05:32 +00:00
bz
4ad973ddfb MFC:
1.200 sbin/ipfw/ipfw.8, 1.104 sbin/ipfw/ipfw2.c
  1.110 sys/netinet/ip_fw.h, 1.164 sys/netinet/ip_fw2.c

  Add support for filtering on Routing Header Type 0 and
  Mobile IPv6 Routing Header Type 2 in addition to filter
  on the non-differentiated presence of any Routing Header.
2007-06-07 09:50:53 +00:00
jhb
3de5fcab9c MFC: Make gcore(1) 64 bit safe. 2007-06-06 22:06:42 +00:00
jhb
d7d8ad2d28 MFC: Add support for kernel modules with a single PT_LOAD section. 2007-06-06 21:43:35 +00:00
jhb
8cb531edb0 MFC 1.176: Add vm map and object locking to each_writable_segment(). 2007-06-06 21:30:42 +00:00
glebius
955bdccfc0 Merge 1.47:
Make it possible that carpdetach() unlocks on return. Then, in
  carp_clone_destroy() we are on a safe side, we don't need to
  unlock the cif, that can me already non-existent at this point.

  Reported by:    Anton Yuzhaninov <citrin rambler-co.ru>
2007-06-06 16:20:50 +00:00
ambrisko
2ff6b0a1a2 MFC all of the remaining changes. This brings over improved ioctl
support and makes MegaCli work on amd64.  Scott supplied patches
to make the ioctl commands not block the controller.  MegaCli
still has some issues with our emulation and create some bogus
commands so flashing doesn't work.

This should loosely resolve 113232.  We were waiting on some other
fixes to go into -current before migrating this to -stable.

PR:		113232
Submitted by:	scottl
2007-06-06 15:59:29 +00:00
thompsa
199098722d MFC r1.99
Remove a KASSERT intended to help the developer, the condition is no longer
  valid since the span code was added.
2007-06-06 00:59:20 +00:00
scottl
d0b88f4934 Fix last-minute typo. 2007-06-05 22:54:01 +00:00
scottl
2b2eb7e668 MFC: MPI 1.5.16, SAS topology scan, SATA WC enable tunable 2007-06-05 21:32:57 +00:00
scottl
f2890bf10c Add build glue for the mfip driver. 2007-06-05 21:31:11 +00:00
scottl
710aac1295 Add the CAM passthrough driver for MFI 2007-06-05 21:27:22 +00:00
jfv
6eeab22219 MFC of a couple small fixes: 82571 LAA reset workaround,
and invalid eeprom problem on some PCI-E systems.
2007-06-05 17:44:01 +00:00
davidch
349fe0e661 Merged changes from HEAD, including:
- Updated copyright date to 2007.

- Tested with BCM5706 A3.

- Added ID for BCM5708 B2.

- Removed unused driver version string.

- Modified BCE_PRINTF macro to automatically fill-in the sc pointer.

- Fixed a kernel panic when the driver was loaded as a module from the
command-line because the MII bus pointer was null (i.e. the MII bus
hadn't been enumerated yet).

- Added fix proposed by Vladimir Ivanov <wawa@yandex-team.ru> to prevent
driver state corruption when releasing the lock during the ISR in
bce_rx_intr() to send packets up the stack.

- Added new TX chain and register read sysctl interfaces for debugging.

- Cleaned up formatting for various other debug routines.

- Added a new statistic maintained by firmware which tracks the number
of received packets dropped because no receive buffers are available.
2007-06-05 01:56:08 +00:00
bmah
a1e06047ed Unbreak release notes build. 2007-06-04 18:26:35 +00:00
ariff
4edf02bb32 MFC:
Simmilar, but different treatment:

Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) .
Things can get ugly without it due to uninitialized class.

err.. perhaps we should teach devclass_get_maxunit() to return -1 ?
2007-06-04 09:06:05 +00:00
cvs2svn
c1967faca6 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-06-04 02:50:31 +00:00
philip
5c593e199d MFC: Add support for Asus A3N laptops.
Submitted by:	Holger Jorra <holger_jorra -at- gmx.net>
2007-06-03 22:44:23 +00:00
brueffer
e753df625a MFC:
New release notes:
- touch -A
- xorg 7.2 update
- mxge(4)
- X11BASE -> LOCALBASE transition
- netcat update to OpenBSD 4.1 version
- fdisk -p
2007-06-03 14:59:11 +00:00
philip
b765336b7e MFC: Don't lie about saved reports.
PR:		gnu/89777
Submitted by:	edwin
2007-06-03 13:52:46 +00:00
simokawa
a91c864791 MFC: rev 1.10
Discard backlog on GDB port when connected.
2007-06-03 13:43:00 +00:00
philip
d3fd74a484 MFC: moused.c rev 1.77 and rev 1.78
moused.8 rev 1.60 and rev 1.61
     Makefile rev 1.9

    Add dynamic acceleration to moused(8).  This introduces a '-A' flag to
    control the acceleration algorithm.  It can be used together with the '-a'
    flag for regular acceleration. [1]

    Convert macros to use C99's syntax for macros with a variable number of
    arguments.

    Markup fixes to moused(8).

Submitted by:	Oliver Fromme <olli -at- lurza.secnetix.de> [1]
Behind on MFCs:	philip
2007-06-03 13:36:04 +00:00
yongari
7f7814fa00 MFC if_re.c, 1.84 to RELENG_6
The TCP checksum offload handling in the 8111B/8168B and 8101E PCIe can
  apparently be confused by short TCP segments that have been manually
  padded to the minimum ethernet frame size. The driver does short frame
  padding in software as a workaround for a bug in the 8169 PCI devices
  that causes short IP fragments to be corrupted due to an apparent
  conflict between the hardware autopadding and hardware IP checksumming.

  To fix this, we avoid software padding for short TCP segments, since
  the hardware seems to autopad and checksum these correctly (even the
  older 8169 NICs get these right). Short UDP packets appear to be
  handled correctly in all cases. This should work around the IP header
  checksum bug in the 8169 while not tripping the TCP checksum bug in
  the 8111B/8168B and 8101E.

PR:	112089
2007-06-03 07:47:40 +00:00
yongari
d2803fe7e8 MFC if_re.c, 1.81 to RELENG_6
Fix re_setmulti() so that it works correctly for PCIe chips where
  the multicast hash table are in reverse order compared to older
  devices.

PR:	112089
2007-06-03 07:43:15 +00:00
njl
f7ead5733e MFC: remove extraneous "can't get _ADR" messages. 2007-06-02 19:15:58 +00:00
brueffer
2b0c3b4bf1 MFC: 1.78 + 1.85
Enable automatic hardware notes generation for mxge(4).
2007-06-02 08:02:23 +00:00
des
7cad22fd05 MFC: various improvements, including fileno allocation bug fix 2007-06-01 20:56:18 +00:00
simokawa
e97ef18189 Fix a breakage with "MODULES_WITH_WORLD=true make buildworld".
PR: kern/113204
2007-06-01 00:50:59 +00:00
cperciva
8f9e434238 Fix comma placement error in previous commit. 2007-05-31 18:37:09 +00:00
maxim
de712d0443 MFC rev. 1.33 traceroute.c and rev. 1.18 traceroute6.c: make it
possible to use 1 sec wait time.
2007-05-31 14:01:51 +00:00
maxim
d0887e8868 MFC rev. 1.39 fdisk.8 and rev. 1.83 fdisk.c: add -p flag -- print
a slice table in fdisk configuration file format.
2007-05-31 13:52:24 +00:00
delphij
cc5b12cd19 MFC: netcat from OpenBSD 4.1-RELEASE. 2007-05-31 07:23:11 +00:00
delphij
025fdf171c MFC revision 1.137
date: 2007/05/17 06:08:42;  author: delphij;  state: Exp;  lines: +8 -5
Tighten IP address check, prevent '..' from being passed
from the check.

Submitted by:   Ren Zhen <bg1tpt gmail com>
2007-05-31 02:42:37 +00:00
simokawa
5bb43889d2 MFC: rev. 1.7
Change default value of hw.firewire.dcons_crom.force_console to 0
for least astonishment.
2007-05-30 12:23:38 +00:00
simokawa
88ec1ee264 MFC rev. 1.13: Make compile without GDB option. 2007-05-30 12:22:08 +00:00