Daniel Eischen
76390742ee
Fix a typo that prevented the quad symbols from being exported
...
(s/SYM_MAP/SYM_MAPS/).
Reported by: kan
Approved by: re@ (Ken Smith)
2007-07-06 13:42:24 +00:00
Attilio Rao
c1a6d9fa42
Fix some problems with lock_profiling in sx locks:
...
- Adjust lock_profiling stubs semantic in the hard functions in order to be
more accurate and trustable
- Disable shared paths for lock_profiling. Actually, lock_profiling has a
subtle race which makes results caming from shared paths not completely
trustable. A macro stub (LOCK_PROFILING_SHARED) can be actually used for
re-enabling this paths, but is currently intended for developing use only.
- Use homogeneous names for automatic variables in hard functions regarding
lock_profiling
- Style fixes
- Add a CTASSERT for some flags building
Discussed with: kmacy, kris
Approved by: jeff (mentor)
Approved by: re
2007-07-06 13:20:44 +00:00
Bjoern A. Zeeb
7a5dee0567
I4B header files were repo-copied from sys/i386/include/ to
...
sys/i4b/include/ so they will be available to all architectures
once I4B compiles on those.
We no longer need these "glue" files.
Reminded by: nyan
Approved by: re (kensmith)
2007-07-06 08:05:46 +00:00
Bjoern A. Zeeb
bebcac07fc
Bump version after repo-copy of I4B headers.
...
The headers will now be installed to include/i4b/ and
no longer to include/machine/.
Approved by: re (kensmith)
2007-07-06 07:36:09 +00:00
Bjoern A. Zeeb
ef21730117
I4B header files are now installed in include/i4b/ and no longer live
...
in include/machine/.
Approved by: re (kensmith)
2007-07-06 07:24:49 +00:00
Bjoern A. Zeeb
5b919cdc47
I4B header files were repo-copied from sys/i386/include/ to
...
sys/i4b/include/ so they will be available to all architectures
once I4B compiles on those.
Approved by: re (kensmith)
2007-07-06 07:23:39 +00:00
Bjoern A. Zeeb
ec8fa4cfd9
I4B header files are now installed in include/i4b/ and no longer
...
in include/machine/.
Adapt #include paths.
Approved by: re (kensmith)
2007-07-06 07:21:56 +00:00
Bjoern A. Zeeb
9fa28ff687
I4B header files were repo-copied from sys/i386/include to
...
sys/i4b/include/ so they will be available to all architectures
once I4B compiles on those.
I4B header files are now installed in include/i4b/ and no longer
in include/machine/.
For now we still install the headers for i386 only.
Approved by: re (kensmith)
2007-07-06 07:20:59 +00:00
Bjoern A. Zeeb
6f5d8741e5
I4B header files were repo-copied from sys/i386/include/ to
...
sys/i4b/include/ so they will be available to all architectures
once I4B compiles on those.
Adapt #include paths.
Approved by: re (kensmith)
2007-07-06 07:17:22 +00:00
Pyun YongHyeon
53ffeb8e0b
Belately note default driver change for NVIDIA network adapters.
...
Requested by: Michael Plass < mfp49_freebsd at plass-family dot net>
Approved by: re (hrs)
2007-07-06 06:35:50 +00:00
Sean Farley
5b78c6c247
Take care that the input to setenv() may actually be a pointer straight
...
from environ; make a copy before manipulating it and passing it to
setenv().
Approved by: wes
Approved by: re (kensmith)
2007-07-06 04:04:58 +00:00
Peter Wemm
01f7d072de
I did not intend to turn -Werror on for pc98. Refine the test for
...
turning it on for i386.
Approved by: re (rwatson, followup)
2007-07-06 01:50:58 +00:00
Peter Wemm
0a6bd02876
Turn on -Werror for sparc64 and sun4v.
...
Approved by: re (rwatson)
2007-07-06 00:52:29 +00:00
Peter Wemm
89200512b3
Fix warnings.
...
nxge: cast page size fragments down to (int). If the vm's demand paging
PAGE_SIZE is ever too big for that, we've got far bigger problems.
ofw: move va_start() a little earlier. gcc-4.2 doesn't like us modifying
the last arg before the va_start().
Approved by: re (rwatson)
2007-07-06 00:47:44 +00:00
Peter Wemm
c5b102f584
Fix warning - add missing #include
...
Submitted by: mjacob
Approved by: re (rwatson)
2007-07-06 00:41:53 +00:00
Pyun YongHyeon
141f92e7b5
re(4) devices requires an external EEPROM. Depending on models it
...
would be 93C46(1Kbit) or 93C56(2Kbit). One of differences between them
is number of address lines required to access the EEPROM. For example,
93C56 EEPROM needs 8 address lines to read/write data. If 93C56
recevied premature end of required number of serial clock(CLK) to set
OP code/address of EEPROM, the result would be unexpected behavior.
Previously it tried to detect 93C46, which requires 6 address lines,
and then assumed it would be 93C56 if read data was not expected
value. However, this approach didn't work in some models/situations
as 93C56 requries 8 address lines to access its data. In order to fix
it, change EEPROM probing order such that 93C56 is detected reliably.
While I'm here change hard-coded address line numbers with defined
constant to enhance readability.
PR: 112710
Approved by: re (mux)
2007-07-06 00:05:12 +00:00
Bjoern A. Zeeb
7ea2134cb2
Forced commit to note a repo-copy of this file from
...
src/sys/i386/include/
so it will be available to all architectures once I4B compiles on those.
Approved by: re (kensmith)
2007-07-05 21:52:43 +00:00
Peter Wemm
0c5931043c
Fix remaining syntax errors (missing semicolons)
...
Submitted by: Björn König <bkoenig@cs.tu-berlin.de>
Approved by: re (kensmith, followup commits)
2007-07-05 17:42:00 +00:00
Xin LI
2a463222be
Space cleanup
...
Approved by: re (rwatson)
2007-07-05 16:29:40 +00:00
Xin LI
1272577e22
ANSIfy[1] plus some style cleanup nearby.
...
Discussed with: gnn, rwatson
Submitted by: Karl Sj?dahl - dunceor <dunceor gmail com> [1]
Approved by: re (rwatson)
2007-07-05 16:23:49 +00:00
George V. Neville-Neil
a22fb0da42
Added comments eplaining the requirement for device crypto with IPSEC
...
Approved by: re
2007-07-05 15:33:13 +00:00
Max Laier
e22a271eeb
Remove unused variable from pf_subr.c to make it -Werror buildable.
...
Approved by: re (kensmith)
2007-07-05 15:28:59 +00:00
Warner Losh
05adc69b08
Prefer device_printf to printf + device_get_nameunit. This saves
...
about 100 bytes.
Approved by: re (blanket)
2007-07-05 15:25:32 +00:00
Tai-hwa Liang
798a64346d
MFp4: Fixing IPW_DEBUG enabled builds by converting the last piece of
...
ic->ic_des_essid to ic->ic_des_ssid[0].
Reviewed by: sam
Approved by: re (kensmith)
2007-07-05 15:06:49 +00:00
Doug Rabson
41ec374660
If the mech_type argument to gss_display_status is null, use a default
...
mechanism.
Approved by: re (kensmith)
2007-07-05 13:40:07 +00:00
Robert Watson
458f818f47
In preparation for 7.0 privilege cleanup, clean up style:
...
- Sort copyrights by date.
- Re-wrap, and in some cases, fix comments.
- Fix tabbing, white space, remove extra blank lines.
- Remove commented out debugging printfs.
Approved by: re (kensmith)
2007-07-05 13:16:04 +00:00
Konstantin Belousov
542a8db549
Adopt snp to the destroy_dev_sched() KPI after reverting of destroy_dev()
...
to not call destroy_dev_sched().
Tested by: Peter Holm
Approved by: re (kensmith)
2007-07-05 13:07:12 +00:00
Konstantin Belousov
196a7385ac
Revert destroy_dev() to the state before destroy_dev_sched() was introduced.
...
Attempt to spawn destroy_dev_sched() from it causes inadmissible races.
Requested by: tegge
Approved by: re (kensmith)
2007-07-05 13:04:59 +00:00
Ariff Abdullah
36bc8661bf
Properly unlock mutex before returning. There was a slight mishap
...
during last major locking cleanup.
Reported by: Thierry Herbelot <thierry@herbelot.com>
Approved by: re (mux)
2007-07-05 10:22:37 +00:00
Xin LI
c425727e97
Remove reference to the old ftp-proxy implementation,
...
which was replaced during the pf 4.1 import.
Approved by: re (mux)
2007-07-05 09:46:53 +00:00
Peter Wemm
8032d6336f
Turn on -Werror for i386 kernel builds.
...
Approved by: re (rwatson)
2007-07-05 09:30:34 +00:00
Andrew Thompson
b3d37ca5f8
Allow the LACP state to be queried from userland which at the moment is the
...
actor and partner peer info. Print out the active aggregator and per port data
in verbose mode from ifconfig.
Approved by: re (mux)
2007-07-05 09:18:57 +00:00
Bjoern A. Zeeb
53bf725ae1
Remove the -DFAST_IPSEC from Makefiles again.
...
This was needed during the IPSEC->FAST_IPSEC->IPSEC transition
period to not break the build after picking up netipsec header
files. Now that the FAST_IPSEC kernel option is gone and the
default is IPSEC again those defines are superfluous.
Approved by: re (rwatson)
2007-07-05 08:56:46 +00:00
Bjoern A. Zeeb
f43455fd89
Remove netkey directory from cscope/TAGs generation and replace
...
it with netipsec now that KAME IPsec is gone.
While here add missing netinet6 directories.
Add comments about the ports needed to be able to run those targets.
Reviewed by: philip
Approved by: re (rwatson)
2007-07-05 08:55:14 +00:00
Bjoern A. Zeeb
7089081d49
Fix a build breakage as result of disabling parts of I4B.
...
Check for (temporary gone) kernel options to be defined before using
them.
Reported by: peter
Approved by: re (rwatson)
2007-07-05 08:53:21 +00:00
Peter Wemm
a031fd450e
Quiet framelen uninitialized warning. I think it was a false alarm.
...
If check_fhdr() returns false, the frame_ok variable should protect any
meaningful evaluations of framelen.
Approved by: re (rwatson)
2007-07-05 07:46:33 +00:00
Peter Wemm
b77acb8748
Quiet warnings. I believe gcc is incorrect about these.
...
Approved by: re (rwatson)
2007-07-05 07:38:17 +00:00
Peter Wemm
e106f3d812
__packed has no effect on u_int8_t's except to cause a warning (and
...
never has had any effect).
Approved by: re (rwatson)
2007-07-05 07:28:38 +00:00
Peter Wemm
61ba2e0a14
Turn -Werror back on for amd64 for kernel builds.
...
Approved by: re (rwatson)
2007-07-05 07:06:17 +00:00
Peter Wemm
4085424709
Compile pf/pf_subr.c and netnatm/cc_conn.c without -Werror for the time
...
being.
Approved by: re (rwatson)
2007-07-05 07:04:17 +00:00
Peter Wemm
0278f1c0a3
Quiet warnings. These do not appear to be actually used uninitialized,
...
but gcc's optimizer isn't smart enough to see that. Pre-initializing
seems harmless enough.
Approved by: re (rwatson)
2007-07-05 06:59:14 +00:00
Peter Wemm
0273079097
Fix a stray splx() that caused a new warning.
...
Approved by: re (rwatson)
2007-07-05 06:54:03 +00:00
Peter Wemm
cb3a418e8d
Initialize DWBuf[3].
...
Approved by: re (rwatson, blanket)
2007-07-05 06:51:49 +00:00
Peter Wemm
343cc83e1b
Fix a bunch of warnings due to a missing forward declaration of a struct.
...
Approved by: re (rwatson)
2007-07-05 06:45:37 +00:00
Warner Losh
d9c12353bf
Prefer device_printf to printf("%s: ...", device_get_nameunit()). On
...
amd64, we save about 240 bytes (this is about 20 per instance).
Approved by: re (blanket)
2007-07-05 06:42:14 +00:00
Warner Losh
96e0645dd4
Prefer device_printf to printf("%s:...", device_get_nameunit(),...);
...
This saves ~300 bytes for uvscom.c and ~100 for uvisor.c
Approved by: re (blanket)
2007-07-05 06:28:46 +00:00
Peter Wemm
edbb8b4600
Fix 'assignment used as truth value' warning
...
Approved by: re (rwatson)
2007-07-05 06:27:15 +00:00
Peter Wemm
a9431a52cf
Temporarily turn nowerror on for i386 and amd64 pmap.c. I'd like to study
...
exactly what effect the options cause to the code with gcc these days.
Approved by: re (rwatson)
2007-07-05 06:12:40 +00:00
Peter Wemm
477d44c467
Fix a second warning, introduced by my last "fix". I committed the wrong
...
diff from the wrong machine.
Pointy hat to: peter
Approved by: re (rwatson - blanket, several days ago)
2007-07-05 06:04:46 +00:00
Peter Wemm
9fb5d4c064
Fix cast-qualifiers warning when INET6 is not present
...
Approved by: re (rwatson)
2007-07-05 05:55:57 +00:00