jdolecek
52c9439e95
regen:
...
remove all alternative path check code, and (empty) ioctl wrapper
2004-09-14 17:40:59 +00:00
jdolecek
c2e4e13382
remove all alternative path check code, and (empty) ioctl wrapper
2004-09-14 17:39:18 +00:00
drochner
edb77e2a6d
include "locators.h" explicitely where it is needed, so that
...
it can be removed in the isavar.h header eventually
2004-09-14 17:38:30 +00:00
jdolecek
e6e73849a5
g/c rest of COMPAT_AOUT support
2004-09-14 17:25:37 +00:00
jdolecek
023551ef44
gc opt_compat_aout.h include
2004-09-14 17:20:29 +00:00
drochner
863cb326e8
replace 7 identical instances if cfprint functions by a single one
2004-09-14 17:19:34 +00:00
jdolecek
80a2cb5245
rename 'sp' variable to 'ap' in adosfs_pathconf(), so that it matches other
...
filesystems and avoid silly pastos
2004-09-14 16:59:40 +00:00
jdolecek
120bb37404
remove COMPAT_AOUT
2004-09-14 16:57:31 +00:00
jdolecek
3ea04717bf
do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed
2004-09-14 16:51:57 +00:00
simonb
553aeff41f
Remove the remains of an old comment that doesn't apply any more.
2004-09-14 15:19:35 +00:00
drochner
6453b0fcb2
fix wrong asm .end names which caused assembler warnings,
...
from Nicolas Joly per PR port-alpha/26945
2004-09-14 11:27:22 +00:00
skrll
d8390279f9
Fix typos/pastos.
2004-09-14 10:58:45 +00:00
simonb
c5b66303ed
White space nit.
2004-09-14 09:00:24 +00:00
simonb
35817977ee
Remove an unused event counter.
2004-09-14 08:40:26 +00:00
simonb
357f38915a
Tidy up a little.
2004-09-14 08:22:33 +00:00
lukem
ade2bb0154
Whitespace tweaks.
...
Remove vendor RCSID, since it's out of sync already (due to manual patches).
2004-09-14 00:38:37 +00:00
lukem
90a0bf7bae
Use ieee80211_find_rxnode() function instead of ieee80211_find_node()
...
and ieee80211_ref_node(). From Damien Bergamini.
2004-09-14 00:35:10 +00:00
lukem
25429a05fb
Correctly synchronize DMA mapping for transmission buffer descriptors.
...
From Damien Bergamini.
2004-09-14 00:34:19 +00:00
lukem
8c838d97d0
Improve monitor mode support. From Damien Bergamini
2004-09-14 00:32:55 +00:00
lukem
9e6574e2c2
Add IEEE802.11 radiotap support. From Damien Bergamini.
2004-09-14 00:31:20 +00:00
lukem
2cc0c73c82
Whitespace tweaks from Damien Bergamini.
...
Whitespace tweaks by me.
Remove vendor RCSID, since it's out of sync already (due to manual patchs).
2004-09-14 00:27:26 +00:00
fvdl
2a1aa1e67d
Remove some devices (sync with i386).
2004-09-13 22:33:47 +00:00
jdolecek
f16bab2269
bsd_to_linux_statfs():
...
- filesystem size is expressed in number of fragments, not blocks;
this fixes computed filesystem sizes for Linux df(1) and other Linux
binaries using statfs(2) for filesystems, which use different value
for frament and block, such as FFS
- use FS f_namemax instead of always using MAXNAMLEN
2004-09-13 20:09:44 +00:00
jdolecek
a6894024dd
dostatvfs(): zero the statvfs structure before calling filesystem code, so that
...
unset parts would have defined value and not pass random parts of kernel stack
2004-09-13 20:02:20 +00:00
jdolecek
c407d0a5ca
copy_statvfs_info(): copy f_namemax too
2004-09-13 19:45:21 +00:00
jdolecek
caffd8ef28
set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
...
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync
2004-09-13 19:25:48 +00:00
jdolecek
2993272a0c
set mp->mnt_stat.f_namemax on filesystem mount, for use by statvfs
2004-09-13 19:19:44 +00:00
drochner
df80bed99c
put EISA attachment specific code inside "#if NPCEB > 0",
...
to avoid references to EISA variables if "pceb" is not defined in
kernel configurations, and save some bytes
tested by Havard Eidnes (or his colleague:-)
2004-09-13 18:42:59 +00:00
drochner
11ff62378b
add "joy"
2004-09-13 17:26:28 +00:00
drochner
103deb3575
use config_found() instead of config_found_sm() if no submatch
...
function is used
2004-09-13 15:14:12 +00:00
drochner
a02e2488a0
autoconf cleanup: turn xxxsubmatch() functions into the locator
...
passing variants
2004-09-13 14:57:31 +00:00
drochner
a48272e3d0
pass locators to tlsbsubmatch()
...
XXX the "offset" locator is unused appearently, assume that "0"
is a sensible value
2004-09-13 14:48:46 +00:00
drochner
cb1ceb0bce
remove "pcibus" and "isabus" from "mainbus" -- neither of them
...
attaches directly
cleanup a comment
2004-09-13 14:38:37 +00:00
drochner
b1ce7363e0
clean up the questionable use of sabtty_match() as submatch function
...
(with no useful contents), and implement a real submatch function instead
2004-09-13 14:32:38 +00:00
drochner
6c73a9561e
nothing attaches to a "sabtty", so there is no need for an
...
interface attribute
2004-09-13 14:29:38 +00:00
drochner
2578f8fc3c
remove unused variable
2004-09-13 14:08:39 +00:00
drochner
96b589fc18
a round of autoconf cleanup:
...
-convert submatch() style functions (passed to config_search() or
config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
on "locators.h"
2004-09-13 12:55:47 +00:00
drochner
d758c65552
remove the ppbus_print_child() function which is pointless as used here
2004-09-13 12:49:58 +00:00
drochner
8fd40ab43d
"gtpci" doesn't provide an ISA bus, so it shouldn't have an "isabus"
...
attribute
2004-09-13 12:36:18 +00:00
drochner
b04ad75025
use locator passing versions of xxxsubmatch() and simplify the code by
...
using arithmetics instead of case statements
2004-09-13 12:34:00 +00:00
drochner
a987cab220
remove macros which just hide cfdata internals
...
(and are used at one place only)
2004-09-13 12:22:52 +00:00
tron
428bbd1acc
Const-ify last change properly.
2004-09-13 10:52:34 +00:00
tron
c4bb165efd
Add a few extra type casts to make C++ happy. This fixes build problems
...
in e.g. "libsupc++".
2004-09-13 10:33:43 +00:00
chs
cbc396ce30
work around a binutils bug where converting ELF kernels to a.out with objcopy
...
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
2004-09-13 09:39:40 +00:00
thorpej
a30ebb7365
Avoid warnings about conversions from "unsigned long long" to "unsigned int"
...
and from "unsigned int" to "unsigned long long".
2004-09-13 01:46:39 +00:00
thorpej
10b55261a1
To quote C99 6.3.1.1:
...
If an int can represent all values of the original type, the value is
converted to an int; otherwise, it is converted to an unsigned int. These
are called the integer promotions. 48) All other types are unchanged by
the integer promotions.
So, cast an "unsigned short" to an "unsigned int" before right-shifting it
in order to avoid a lint warning.
2004-09-13 01:24:46 +00:00
thorpej
77f08a265c
Move the 16/32-bit encode/decode to/from octet stream routines from
...
kern_uuid.c to sys/endian.h (where FreeBSD has them), and add 64-bit
variants.
2004-09-12 23:17:37 +00:00
thorpej
e7b13cc120
Correct a comment.
2004-09-12 22:52:58 +00:00
he
b119cd7a61
Enclose initialization of NCR_VARIANT_NCR53C400 in an ifdef on
...
NCR5380_USE_BUS_SPACE, to make this build again on acorn32, mac68k,
pc532, and sun3. This is done under the assumption that it's
somewhat doubtful that any of those machines will encounter that
chip variant.
The acorn32 and mac68k parent drivers (csa and sbc) are listed in
ncr5380var.h as "easy to convert", but it's evident that noone have
stepped up to that challenge yet. Sun3 and pc532 needs bus.h first,
which they apparently don't have at the moment.
2004-09-12 18:05:46 +00:00
jdolecek
9cc50db4c5
if passed sockaddr has family AF_UNSPEC, use socket family of the socket
...
the sockaddr is used for
this fixes bind() problem in Linux version of Theocracy, testing
by Thomas Klausner
2004-09-12 15:32:55 +00:00