Pyun YongHyeon
1b7757c024
Optimize inserting LE for TX checksum computation. Controller does
...
not require checksum LE configuration if checksum start and write
position is the same as before. So keep track last checksum start
and write position and insert new LE whenever the position is
changed. This reduces number of LEs used in TX path as well as
slightly enhance TX performance.
2010-02-26 18:18:02 +00:00
Pyun YongHyeon
4858893b6e
Add TSO support on VLANs. Controller requires VLAN hardware tagging
...
to make TSO work over VLANs.
2010-02-26 17:33:43 +00:00
Pyun YongHyeon
d06930af52
Reuse the configured LE for VLAN if new LE was created for TSO.
...
Only old controllers need to create new LE for TSO. This change
makes TSO work over VLANs.
2010-02-26 17:27:16 +00:00
Wilko Bulte
fb24fced05
s/all ready/already/
...
Submitted by: ru@, gj@
2010-02-26 16:27:11 +00:00
Ed Schouten
f319c4b9af
Make pr build with WARNS=6.
2010-02-26 13:48:04 +00:00
Ed Schouten
81d01f896b
Use time(NULL) instead of gettimeofday(), because we only need tv_sec.
2010-02-26 13:47:51 +00:00
Alexander Motin
2dc59e87e6
Store path for rescan to the right place. This should fix panic on boot,
...
introduced by r203108.
2010-02-26 12:31:16 +00:00
Ruslan Ermilov
38ea91022c
(Almost) fixed static linkage. The remaining problem is with
...
libgssapi.a and libgssapi_krb5.a libraries that define the
same symbols.
2010-02-26 12:12:54 +00:00
Alexander Motin
1254b6802f
Make PUIS detection more strict. Previous implementation caused false
...
positives on VMWare's virtual CD-ROMs.
2010-02-26 10:42:46 +00:00
Alexander Motin
0aacc53526
Fix newlines broken at r204220.
2010-02-26 10:33:48 +00:00
Ruslan Ermilov
c59ee18a21
Fixed static linkage.
2010-02-26 09:41:16 +00:00
Alexander Motin
28889a0022
Fix bug in headphones audio redirection using separate DAC. It was exposed
...
by removing channel duplication during multichannel audio implementation.
2010-02-26 09:31:50 +00:00
Navdeep Parhar
f9c6e16451
Support IFCAP_VLANHWTSO in cxgb(4). It works with or without vlanhwtag.
...
While here, remove old DPRINTFs and tidy up the capability code a bit.
2010-02-26 07:08:44 +00:00
Edwin Groothuis
dcfeda6122
Split the contributed code from libc/stdtime from lib/libc/stdtime
...
to contrib/tzcode/stdtime.
2010-02-26 06:44:00 +00:00
Weongyo Jeong
e7dc8641d6
Updates what firmware module should be used for LP (low power) PHY
...
users and bumps date.
2010-02-26 00:37:49 +00:00
Dag-Erling Smørgrav
db5b5f06b1
Fix 'make checkdpadd'
...
Submitted by: ru@
2010-02-25 22:44:23 +00:00
Ruslan Ermilov
9b3d7b91ef
Fixed dependencies (make checkdpadd).
2010-02-25 22:18:35 +00:00
Ruslan Ermilov
13c89dbfa7
Removed redundant -I. from CFLAGS and "yes" from WITHOUT_MAN.
2010-02-25 22:16:30 +00:00
Edwin Groothuis
baae883ec4
Remove non-contributed code.
2010-02-25 21:29:40 +00:00
Jung-uk Kim
bdcf2df5c2
Initial gdbserver support for amd64.
2010-02-25 21:29:00 +00:00
Dag-Erling Smørgrav
329a9a116e
Remove -static; it was a failed experiment that got committed by accident.
2010-02-25 21:26:50 +00:00
Edwin Groothuis
522a35959a
Copy lib/libc/stdtime to contrib/tzcode/stdtime for the proper split
...
of contributed code and FreeBSD specific code.
2010-02-25 21:21:34 +00:00
Edwin Groothuis
97dcdbd450
From contrib/tzcode:
...
The Makefiles are leftovers from the copies and should live in usr.sbin/zic/*
From usr.sbin/zic:
The sources are from a vendor contributed source, therefore should
live in contrib/tzcode/zic.
2010-02-25 21:10:27 +00:00
Ruslan Ermilov
bee10047c0
Fixed dependencies (make checkdpadd).
2010-02-25 20:24:19 +00:00
Weongyo Jeong
4f0c2fae8d
Add bwn(4) driver.
2010-02-25 19:47:47 +00:00
Weongyo Jeong
7b0c4174cd
Connect bwn.4 to the build.
2010-02-25 19:43:22 +00:00
Weongyo Jeong
61c8bb571f
Add bwn(4) driver to the build.
2010-02-25 19:42:51 +00:00
Yoshihiro Takahashi
83a62ac338
MFi386: the part of r204309 to fix pc98 kernel
...
Introduce the new kernel sub-tree x86 which should contain all the code
shared and generalized between our current amd64, i386 and pc98.
2010-02-25 15:44:54 +00:00
Rafal Jaworowski
3d5ffb0eb6
Minor style correction.
2010-02-25 15:30:26 +00:00
Rafal Jaworowski
04bfe19a09
Fix handling of GPT disk partition index.
...
Obtained from: Semihalf
MFC after: 1 week
2010-02-25 15:29:41 +00:00
Rafal Jaworowski
f5b6b801e6
Let loader(8) for U-Boot use default storage more flexibly.
...
Obtained from: Semihalf
MFC after: 1 week
2010-02-25 15:27:13 +00:00
Rafal Jaworowski
981c345ce7
Enable U-Boot storage for PowerPC. While there fix loader(8) help file name.
...
MFC after: 1 week
2010-02-25 15:21:37 +00:00
Wilko Bulte
499608ad34
On the (non)sense of legal disclaimers in emails.
2010-02-25 15:03:57 +00:00
Attilio Rao
2df4a3ea0b
Fix a mis-change about the compiling of atrtc.c.
...
Sponsored by: Sandvine Incorporated
Reported by: Giovanni Trematerra
<giovannit dot trematerra at gmail dot com>
MFC: 3 weeks
X-MFC: r204309
2010-02-25 15:00:27 +00:00
Nathan Whitehorn
f4a943617a
Fix another bug involving /dev/mem and the OEA64 scratchpage. When
...
the scratchpage is updated, the PVO's physical address is updated as well.
This makes pmap_extract() begin returning non-zero values again, causing
the panic partially fixed in r204297. Fix this by excluding addresses
beyond virtual_end from consideration as KVA addresses, instead of allowing
addresses up to VM_MAX_KERNEL_ADDRESS.
2010-02-25 14:51:06 +00:00
Ruslan Ermilov
9fd69f37d2
Fixed missing or broken library dependencies.
2010-02-25 14:42:26 +00:00
Ruslan Ermilov
a6d8ff1d6d
Moved mcgrab(1) into a separate directory -- our .mk infrastructure
...
doesn't currently have support for building multiple programs in a
single makefile.
While here, fixed manpages and makefiles (missing dependencies).
2010-02-25 14:36:50 +00:00
Attilio Rao
3258030144
Introduce the new kernel sub-tree x86 which should contain all the code
...
shared and generalized between our current amd64, i386 and pc98.
This is just an initial step that should lead to a more complete effort.
For the moment, a very simple porting of cpufreq modules, BIOS calls and
the whole MD specific ISA bus part is added to the sub-tree but ideally
a lot of code might be added and more shared support should grow.
Sponsored by: Sandvine Incorporated
Reviewed by: emaste, kib, jhb, imp
Discussed on: arch
MFC: 3 weeks
2010-02-25 14:13:39 +00:00
Konstantin Belousov
c67ea27d10
Do not restrict the allowed signals that can be specified by number
...
to the list of signals that has symbolic name. It was impossible to
send rt signals with kill(1) due to the check.
MFC after: 1 week
2010-02-25 13:53:09 +00:00
Konstantin Belousov
4d44fc9c59
Make pause(3) implementation not depended on the legacy sigcompat.c
...
interfaces. Do not block rt signals during and after pause(3) calls.
Use private libc namespace to call proper methods.
MFC after: 1 week
2010-02-25 13:51:11 +00:00
Warner Losh
bc49613a68
Add CPU_CNMIPS for the core that's in Octeon CPUs.
2010-02-25 11:54:10 +00:00
Robert Watson
7f450feb07
Fix edge cases in several KASSERTs: use <= rather than < when testing that
...
counters have not gone about MAXCPU or NETISR_MAXPROT. These problems
caused panics on UP kernels with INVARIANTS when using sysctl -a, but
would also have caused problems for 32-core boxes or if the netisr
protocol vector was fully populated.
Reported by: nwhitehorn, Neel Natu <neelnatu@gmail.com>
MFC after: 4 days
2010-02-25 09:51:14 +00:00
Edwin Groothuis
605cf4275d
Copy usr.sbin/zic to contrib/tzcode/zic for the proper split of
...
contributed code and FreeBSD specific code.
2010-02-25 06:53:46 +00:00
Edwin Groothuis
b92fc60991
Officially speaking, the zoneinfo data files are contributed data.
...
Therefore treat them as such.
2010-02-25 06:44:16 +00:00
Edwin Groothuis
f879ba00bc
Remove Makefile, it is not part of the contributed data.
2010-02-25 06:35:21 +00:00
Edwin Groothuis
1315084c00
Copy share/zoneinfo to contrib/zoneinfo for the proper split of
...
contributed data and FreeBSD specific data.
2010-02-25 06:31:05 +00:00
Nathan Whitehorn
44f06ae57d
Move the OEA64 scratchpage to the end of KVA from the beginning, and set
...
its PVO to map physical address 0 instead of kernelstart. This fixes a
situation in which a user process could attempt to return this address
via KVM, have it fault while being modified, and then panic the kernel
because (a) it is supposed to map a valid address and (b) it lies in the
no-fault region between VM_MIN_KERNEL_ADDRESS and virtual_avail.
While here, move msgbuf and dpcpu make into regular KVA space for
consistency with other implementations.
2010-02-25 03:53:21 +00:00
Nathan Whitehorn
07d5198098
Provide an implementation of pmap_dev_direct_mapped() on OEA64. This is
...
required in order to be able to mmap the running kernel, which is turn
required to avoid fstat returning gibberish.
2010-02-25 03:49:17 +00:00
Rebecca Cran
8dd83f1e16
Update the sendfile regression test so that it outputs results in the
...
TAP format.
Add a checksum to verify that the data hasn't been corrupted between
being read from disk and being received.
Approved by: rrs (mentor)
2010-02-24 23:00:16 +00:00
Rafal Jaworowski
a9024075a7
Do not force verbose and single mode in non-metadata boot case.
...
We want to go multi-user by default also in case of booting without loader(8).
2010-02-24 20:31:00 +00:00