Matt Jacob
abeda21e8d
Temp workaround for config_intrhook_establish running the hook
...
right away.
2007-05-13 17:45:00 +00:00
Robert Watson
78cfb6a09c
Add prototypes for ether_aton_r() and ether_ntoa_r() missed in previous
...
commit.
2007-05-13 15:52:46 +00:00
Daniel Eischen
38d1ff0586
Bump FreeBSD version for enabling of symbol versioning and changing
...
default threading library to libthr.
2007-05-13 14:28:16 +00:00
Yoshihiro Takahashi
a6661bed8b
Disable PREEMPTION option. It causes some problem on pc98.
2007-05-13 07:19:10 +00:00
Wojciech A. Koszek
9e2f7513e1
Bump config(8) version and build requirement for config(8) to 600006. This
...
is caused by my latest changes to config(8). You're supposed to install new
config(8) in order to prevent yourself from seeing a warning about old
version of that tool.
You should configure the kernel with a new config(8) then.
Oked by: rwatson, cognet (mentor)
2007-05-13 02:36:41 +00:00
Wojciech A. Koszek
744b947ef8
Improve INCLUDE_CONFIG_FILE support.
...
This change will let us to have full configuration of a running kernel
available in sysctl:
sysctl -b kern.conftxt
The same configuration is also contained within the kernel image. It can be
obtained with:
config -x <kernelfile>
Current functionality lets you to quickly recover kernel configuration, by
simply redirecting output from commands presented above and starting kernel
build procedure. "include" statements are also honored, which means options
and devices from included files are also included.
Please note that comments from configuration files are not preserved by
default. In order to preserve them, you can use -C flag for config(8). This
will bring configuration file and included files literally; however,
redirection to a file no longer works directly.
This commit was followed by discussion, that took place on freebsd-current@.
For more details, look here:
http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html
http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html
Development of this patch took place in Perforce, hierarchy:
//depot/user/wkoszek/wkoszek_kconftxt/
Support from: freebsd-current@ (links above)
Reviewed by: imp@
Approved by: imp@
2007-05-12 19:38:18 +00:00
Christian Brueffer
3f054080e6
Add missing curly braces.
...
Approved by: rwatson (mentor)
2007-05-12 05:56:58 +00:00
Christian Brueffer
c9960ef732
ALTQify.
...
Submitted by: J.R. Oldroyd
Reviewed by: mlaier
Approved by: rwatson (mentor)
MFC after: 1 week
2007-05-12 05:56:10 +00:00
Christian Brueffer
224aecbcdf
Remove compat ifdefs for FreeBSD versions < 500014, makes the code
...
quite a bit easier to read.
Approved by: rwatson (mentor)
MFC after: 1 weeks
2007-05-12 05:53:53 +00:00
Marius Strobl
ac474f9545
- Add bits for userland profiling. For sun4u this is compile-tested only.
...
- Replace magic 14 with PIL_TICK.
2007-05-11 23:43:55 +00:00
Jack F Vogel
4e341d7ed1
Mistake in the logic deciding what adapters need
...
to map the IO BAR. Causing the driver to fail on
th 82542.
Reviewed by:pdeuskar
Approved by:pdeuskar
2007-05-11 21:36:08 +00:00
Andre Oppermann
57615c7e86
Drop everything that doesn't belong into this new file.
...
It's neither functional not connected to the build yet.
2007-05-11 21:17:53 +00:00
Andre Oppermann
1433541aa4
Drop everything that doesn't belong into this new file.
...
It's neither functional nor connected to the build yet.
2007-05-11 21:04:57 +00:00
Andre Oppermann
0489b64c5e
Make the TCP timer callout obtain Giant if the network stack is marked
...
as non-mpsafe.
This change is to be removed when all protocols are mp-safe.
2007-05-11 20:52:47 +00:00
Andre Oppermann
504abdc6e6
Add the timestamp offset to struct tcptw so we can generate proper
...
ACKs in TIME_WAIT state that don't get dropped by the PAWS check
on the receiver.
2007-05-11 18:29:39 +00:00
Hidetoshi Shimokawa
c6cf3e202a
- Initialize login->id and fix problem for non-zero login id.
...
- Increase maxopenings for multiple lun/initiators.
MFC after: 3 days
2007-05-11 14:51:13 +00:00
Alexander Motin
ce52e8f411
Performance optimization of the "encryption without compression" case by
...
avoiding memory allocation and data copying.
Encrypting directly at the original mbuf chain.
Approved by: glebius (mentor)
2007-05-11 14:36:02 +00:00
Matt Jacob
f58a08937b
Bad merge.
2007-05-11 13:47:28 +00:00
Robert Watson
08d73f1370
Remove more one more stale comment regarding unpcb type-safety.
2007-05-11 12:28:45 +00:00
Robert Watson
d7924b7086
Clarify and update quite a few comments to reflect locking optimizations,
...
the addition of unpcb refcounts, and bug fixes. Some of these fixes are
appropriate for MFC.
MFC after: 3 days
2007-05-11 12:10:45 +00:00
Robert Watson
632bbf0f5b
Coalesce two identical UCB licenses into a single license instance with
...
one set of copyright years.
White space and comment cleanup.
Export $FreeBSD$ via __FBSDID.
2007-05-11 11:21:43 +00:00
Robert Watson
b34aab2337
Minor white space and style cleanups.
2007-05-11 11:05:30 +00:00
Robert Watson
c59b9aa51b
White space and style cleanup.
2007-05-11 11:00:48 +00:00
Robert Watson
d22e451d5b
Minor white space/style normalization.
2007-05-11 10:50:31 +00:00
Robert Watson
4d41cc2fe6
Normalize style a bit: reduce pseudo-randomness of comment layout and
...
white space. Remove 'register'.
2007-05-11 10:48:30 +00:00
Robert Watson
94ad7d68c7
Use ANSI C function declarations throughout netipx.
...
Remove 'register' use.
2007-05-11 10:38:34 +00:00
Robert Watson
54d642bbe5
Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr
...
protocol entry points using functions named proto_getsockaddr and
proto_getpeeraddr rather than proto_setsockaddr and proto_setpeeraddr.
While it's true that sockaddrs are allocated and set, the net effect is
to retrieve (get) the socket address or peer address from a socket, not
set it, so align names to that intent.
2007-05-11 10:20:51 +00:00
Robert Watson
169db7b25d
Remove unneeded wrappers for in_setsockaddr() and in_setpeeraddr(), which
...
used to exist so pcbinfo locks could be acquired, but are no longer
required as a result of socket/pcb reference model refinements.
2007-05-11 09:54:53 +00:00
Matt Jacob
0230a28bf4
Fix pointy-hat problem with BUS_DMA_ROOTARG macro that caused problems for sparc64.
...
Candidate for immediate MFC.
Noticed by: Everyone-maxim contacted.
2007-05-11 06:28:26 +00:00
Alexander Kabaev
ec69a8a6d2
Do not dereference linux_to_bsd_signal[-1] if userland has
...
passed zero as exit signal.
GCC 4.2 changes the kernel data segment layout not to have 0
in that memory location. This code ran by luck before and now
the luck has run out.
2007-05-11 01:25:51 +00:00
Andre Oppermann
4b8e42baab
Fix an incorrect replace of a timer reference made during the TCP timer
...
rewrite in rev. 1.132. This unmasked yet another bug that causes certain
connections to get indefinately stuck in LAST_ACK state.
2007-05-10 23:11:29 +00:00
Robert Watson
f2565d68a4
Move universally to ANSI C function declarations, with relatively
...
consistent style(9)-ish layout.
2007-05-10 15:58:48 +00:00
Dag-Erling Smørgrav
c2b49d4f49
Bump __FreeBSD_version for the addition of flopen(3) to libutil.
...
Requested by: delphij
2007-05-10 15:37:27 +00:00
Scott Long
4d190d01ab
The version string scheme embeds the freebsd major release version,
...
something that I wasn't aware of with the last import. Adjust the
string accordingly for 7-CURRENT.
2007-05-10 15:36:58 +00:00
Scott Long
ddfae47b9d
Collapse the mfi_ld object. Add an ioctl to help management apps map
...
array Id's to FreeBSD device names.
2007-05-10 15:33:41 +00:00
Stephen McKay
5bdc94fa35
Make a missing or empty VPD non-fatal, as it was prior to rev 1.131.
...
With this change, my D-Link DGE-530T rev A1 is operational again.
2007-05-10 13:10:34 +00:00
Kevin Lo
6ac646b3b7
Hook wlan_amrr up to the build.
2007-05-10 08:53:57 +00:00
Ariff Abdullah
a6f9c6fb5f
Don't hold mutex while releasing bus resources.
2007-05-10 01:46:51 +00:00
Kevin Lo
00465d5ab3
Add wlan_amrr. ural(4) uses amrr as transmit rate control.
2007-05-10 01:39:50 +00:00
Kevin Lo
02dff35642
Add wlan_amrr. ural(4) uses amrr as transmit rate control.
2007-05-10 01:32:17 +00:00
Matt Jacob
b065259568
Need sys/cdevs.h for the macro FBSDID to work.
2007-05-09 23:19:55 +00:00
Robert Watson
6ab3b958fc
Update stale comment on protecting UMA per-CPU caches: we now use
...
critical sections rather than mutexes.
2007-05-09 22:53:34 +00:00
Pawel Jakub Dawidek
68e752c31c
Increase debug level - this message is not that important.
2007-05-09 22:32:49 +00:00
George V. Neville-Neil
559d3390d0
Integrate the Camellia Block Cipher. For more information see RFC 4132
...
and its bibliography.
Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp>
MFC after: 1 month
2007-05-09 19:37:02 +00:00
Scott Long
f73e86c383
It turns out that the hptiop driver isn't portable after all. Confine it to
...
amd64 and i386 for now.
2007-05-09 15:55:45 +00:00
Randall Stewart
ad81507eed
Two major items here:
...
- All printf that was surrounded by #ifdef SCTP_DEBUG moves to
a macro that does all of this. This removes all printfs from
the code and makes the code more portable and easier to
read.
- Static Analysis (cisco) - found a few bugs, but mostly we
add checks for NULL pointers and such to make the tool
happy. We now pass the Cisco SA tools checks except for
where it does not understand tailq/lists. We still need
to look at the coverity tools output too (this is like
the cisco SA tool) and see if it wants us to fix any other
items. Hopefully this will be the last major churn in the
code other than bug fixes.
2007-05-09 13:30:06 +00:00
Maxim Konovalov
856d5abeed
o Fix typo: comments start by "#" not "*".
2007-05-09 11:43:04 +00:00
Maxim Konovalov
d30d90dc80
o Fix style(9) bugs introduced in the last commit.
...
Pointed out by: bde
2007-05-09 11:39:46 +00:00
Kevin Lo
eb6e110a7a
- Remove dependency on deprecated if_watchdog ABI.
...
- Move amrr code into net80211 itself.
- Handle ->INIT state transition in ural_newstate() to eliminate the race.
Tested with a ASUS WL-167g.
2007-05-09 09:32:41 +00:00
Yaroslav Tykhiy
ac95c07889
tl(4) appears to support long frames.
...
Tested by: Peter Jeremy <peterjeremy at optushome dot com dot au>
2007-05-09 09:02:11 +00:00