onoe
f529393822
Add check suser() for SIOCS80211BSSID, SIOCS80211CHANNEL.
2002-09-27 04:08:40 +00:00
mycroft
0a20e1e977
We don't need to save r7, either...
2002-09-27 03:46:12 +00:00
junyoung
e11fe6e660
EOL: end of life.
2002-09-27 03:40:46 +00:00
mycroft
b95736d94a
Put back the short-circuiting code -- Matt claims there are functions that rely
...
on it.
OTOH, don't bother saving r6 a second time.
2002-09-27 03:34:22 +00:00
provos
188b812880
human-readable output via -h flag. match output from Linux and other BSDs.
...
Partly by Benedikt Meurer <bmeurer@fwdn.de>. approved by perry. closes
pr 14687 and 18402.
2002-09-27 03:33:33 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
mycroft
6d8d08304c
1) There is no reason to flush the I$ here, given that we do not modify any
...
instructions. Function calls use GOT indirection, and we only patch the
GOT.
2) The mask-comparison optimization always fails, because the saved mask
always has 0x2000 set, and the PLT stub mask never does. So, remove it.
2002-09-27 02:46:05 +00:00
thorpej
b1acac3ab9
Note cfdata using strings to reference cfdrivers.
2002-09-27 02:30:26 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
thorpej
bb34bc8caa
When in a match routine, the cfdata we're passed always references
...
our own cfdriver, so don't bother comparing the names, since they
will always match.
2002-09-27 02:16:28 +00:00
mycroft
42fb5b53c2
Save one more instruction.
2002-09-27 02:14:38 +00:00
wrstuden
470e4ff3ac
Remove vestiges of the syncicache() call originally in powerpc/ofwboot
...
before rev 1.4. This change makes OF 2.4 machines actually boot, and
it works fine on my OF 2.01 machine. No reports of failures on other
archs.
I expect this change is fine as the original code flushed the just-loaded
ofwboot out of the cache, conditionalized on FIRMWORKSBUGS. In rev.
1.4, the code got in-lined, and changed to actually flush low memory
out of the cache. Since machines kept booting, I expect the firmware
was really flushing the binary out of the cache, so we're fine.
2002-09-27 00:32:17 +00:00
martin
e6c17aca91
If we wi_stop the card in wi_shutdown, better do that before the frontend
...
removes power from the pcmcia slot (inside the sc_disable hook).
2002-09-26 23:55:43 +00:00
martin
67bd51c724
Set error = 0 (instead of EINVAL) when it is later tested against != 0.
...
This allows using wiconfig while the interface is not (yet) marked IFF_UP
again.
2002-09-26 23:47:57 +00:00
mycroft
06f9fa98b0
Save relocbase in %r10, not %r1.
...
Also, save one instruction.
2002-09-26 23:28:52 +00:00
martin
aba5b183cd
In wi_shutdown only call wi_stop if sc_enabled is set (don't try to send
...
commands to a card that is not powered up - it will always fail)
2002-09-26 22:51:30 +00:00
mycroft
d437f6520b
Implement a self-relocate function for the VAX.
2002-09-26 22:26:26 +00:00
simonb
ad2a80f193
Move a brace that is in the wrong position when changes from FreeBSD
...
were added in rev 1.51. This may fix the "N lost blocks" problem some
people have noticed.
Reviewed by fvdl.
2002-09-26 21:35:27 +00:00
agc
e66e457180
<sys/map.h> is no more - don't try to include it.
2002-09-26 21:30:30 +00:00
thorpej
09354b26ef
Fix an uninitialized pointer bug in emitcfdata().
2002-09-26 21:07:49 +00:00
thorpej
eaaed308cf
Compare driver name, don't check against zstty_cd.
2002-09-26 20:51:44 +00:00
thorpej
c75e60ed75
Get the pointer to the driver name early, rather than constantly
...
deferencing the cfdriver pointer.
2002-09-26 20:45:42 +00:00
mycroft
1c495430dd
Remove the `self' args to _rtld_relocate_objects() and
...
_rtld_relocate_nonplt_objects().
2002-09-26 20:42:10 +00:00
mycroft
7d4bbc7f4e
Add an iffy heuristic that allows us to do lazy binding with new objects, but
...
detect old objects and deal with them.
2002-09-26 20:41:34 +00:00
bouyer
992abe6e5b
In nfsrv_create(), kill an extra PNBUF_PUT() in the NFSv2 mknod case. The
...
pnbuf has already been freed by VOP_MKNOD. This should have been removed in
rev 1.60.
Should fix PR 18013, OK'd by fvdl.
2002-09-26 20:41:25 +00:00
bouyer
7005ca7253
nfsrv_commit(): Properly handle the case cnt == 0, which means "flush to
...
end of file". Calling VOP_FSYNC with start == end triggers a DIAGNOSTIC
check. Noticed with NFSv3 Linux clients. OK'd by fvdl.
2002-09-26 20:38:04 +00:00
thorpej
e40e3c96cf
G/c extern reference to ioasic_cd.
2002-09-26 20:37:42 +00:00
thorpej
6c87786450
G/c external reference to ibus_cd.
2002-09-26 20:36:51 +00:00
thorpej
958db4d3b7
No need to check that parent's cfdriver is ioasic_cd.
2002-09-26 20:36:14 +00:00
mycroft
73a80999b7
Clean up _rtld_init() -- there is no need to avoid globals.
...
Remove the call to _rtld_relocate_objects() completely -- except on VAX, where
we TEMPORARILY call _rtld_relocate_nonplt_objects() directly.
Also add more assertions -- ld.elf_so should never have PLT relocations.
2002-09-26 20:35:56 +00:00
thorpej
98f612ef11
No need to check that that parent's cfdriver is ibus_cd.
2002-09-26 20:33:25 +00:00
thorpej
7f33c64040
Get the pointer to the driver name early, rather than constantly
...
deferencing the cfdriver pointer.
2002-09-26 20:30:50 +00:00
mycroft
5f24ee89f3
Don't bogusly set obj->pltrela{,lim} if there is no DT_PLTREL.
2002-09-26 20:27:50 +00:00
thorpej
c12a2960bb
In sysfpgamatch(), the expression "cf->cf_driver == &sysfpga_cd" is
...
always true, so just return the constant 1.
2002-09-26 20:25:41 +00:00
thorpej
3280b330bb
Get the pointer to the driver name early, rather than constantly
...
deferencing the cfdriver pointer.
2002-09-26 20:18:24 +00:00
thorpej
88b0700853
Const poison.
2002-09-26 20:02:47 +00:00
thorpej
89dd8c023c
Get the pointer to the driver name early, rather than always dereferencing
...
the cfdriver pointer.
2002-09-26 19:04:59 +00:00
thorpej
274c086b22
Remove <sys/map.h>
2002-09-26 18:54:30 +00:00
wiz
c91d8d6b9b
Lots of minor fixes resulting from reading these man pages in detail.
2002-09-26 18:31:58 +00:00
thorpej
69de06f36a
No need to make sure parent's cfdriver == &ioasic_cd.
2002-09-26 18:30:54 +00:00
wiz
8e14b98adf
Move comment that says 'the following are extensions' to the right place.
...
Approved by christos.
2002-09-26 17:08:42 +00:00
onoe
e8bc592172
Oops. forgot to delete old line in previous commit:
...
| Changed the name for resource id 0xfd45 to match the reality.
| WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:58:44 +00:00
onoe
55ef0eb8b9
Changed the name for resource id 0xfd45 to match the reality.
...
WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:52:44 +00:00
wiz
904b6b9402
Mdoc nits -- unneeded ".
2002-09-26 16:33:53 +00:00
wiz
875690e96c
Ispell.
2002-09-26 16:29:25 +00:00
provos
4fd29e5dcf
human-readable output via -h flag. output matches Linux and other BSDs.
...
partly from kstailey@openbsd.org . approved itojun and perry.
2002-09-26 16:27:43 +00:00
wiz
0d22e30cd0
New sentences begin on new lines.
...
Patch from Richard Elz, slightly improved by yours truly.
2002-09-26 16:12:39 +00:00
darrenr
aa1492743a
Fix a case where M_COPY_PKTHDR() wasn't being used prior to calling bpf_mtap
2002-09-26 16:07:03 +00:00
wiz
079c182094
Kilo abbreviation is a small k (PR 18408).
2002-09-26 15:06:47 +00:00
wiz
15223283f6
Kilo abbreviation is a small k (PR 18408). Unrelated mdoc fix.
2002-09-26 15:06:06 +00:00