jdolecek
1fdcf94f68
no more autoconf.h
2002-09-27 20:10:32 +00:00
jdolecek
2405f564a2
constify, should fix warning for mainbus.c
2002-09-27 20:06:44 +00:00
bouyer
c7b51b5566
In nfs_commit(), sanity-check what we get from network: if we try to fluch
...
past end of file, or if off + cnt overflows a quad_t, flush to end of file.
2002-09-27 19:30:46 +00:00
mycroft
3c7847ff41
#if 0 the call to uvm_map_checkprot() in sys_munmap() -- it's not documented,
...
and programs do not expect it. Also fixes memory leaks in dlopen()/dlclose().
2002-09-27 19:13:29 +00:00
drochner
20d06f6b17
SI prefixes apply to decimal multiplies only. For binary (2^n) multiplies
...
the most "officially looking" is IEC 60027-2, ie "Ki", "Mi", ...,
which is not too popular, and which would require more code changes.
So stick with the traditional capital "K" for (divisor==1024), and use
the SI "k" otherwise (ie (divisor==1000)).
2002-09-27 18:37:43 +00:00
drochner
0766f7d128
Remove a check whether the drive is initialized before crashdump.
...
It prevents dumping on an otherwise unused disk and seems
unnecessary anyway - the driver will deal with initialization.
fixes my PR kern/18135
2002-09-27 17:17:53 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
itojun
1eb6ef2a80
don't go into D3 state if revision <= 82558_B0. PR 18011
2002-09-27 14:54:08 +00:00
martin
2c7b00b18f
Add SYMTAB_SPACE option to make DDB actually useable.
2002-09-27 10:08:19 +00:00
augustss
99680e22b9
Add pci device.
2002-09-27 09:48:38 +00:00
augustss
e3a6ac4328
Install temporary page fault handler while doing PCI config read and
...
write since these can generate MCHK for missing devices.
2002-09-27 09:46:01 +00:00
thorpej
6ffacdd722
Oops, missed one place to use the STREQ() macro.
2002-09-27 06:30:05 +00:00
thorpej
98f020f181
Fix a latent bug uncovered by the new autoconfiguration code: make
...
sure the "ofbus" device carries the "ofbus" interface attribute.
This is the other part of the fix for PR #18433 .
2002-09-27 06:23:09 +00:00
itojun
501bf56348
license clarification from the author, via openbsd
...
>BSD-style license from Serge Vakulenko <vak@cronyx.ru>
2002-09-27 06:20:30 +00:00
thorpej
64e87fb459
Skip pspec-less entries (root nodes) in cfparent_match(). This fixes
...
the "kernel crashes" component of PR #18433 .
2002-09-27 06:12:55 +00:00
thorpej
97741f5198
Some ports (like Amiga) want to use the config machinery VERY early
...
(to initialize the console). Support this when doing cfdriver lookup.
2002-09-27 05:45:03 +00:00
onoe
30d884d47c
Add support for SIOC[SG]80211BSSID, SIOC[SG]80211CHANNEL.
...
Change the name of structure ieee80211_bss to ieee80211_node, which is
used for management of stations in hostap mode, and peers in ibss mode.
Split off ic_opmode, ic_phytype from ic_flags.
Preparation to merge 'wi' driver into 80211subr.c.
2002-09-27 05:36:04 +00:00
onoe
23ab1acf02
Change ifmb_baudrate for IFM_IEEE80211_DS5: 5Mbps -> 5.5Mbps
2002-09-27 05:27:20 +00:00
thorpej
d7067078a4
Compare the driver name against "ledma", rather than looking for
...
&ledma_ca.
2002-09-27 05:07:09 +00:00
onoe
f529393822
Add check suser() for SIOCS80211BSSID, SIOCS80211CHANNEL.
2002-09-27 04:08:40 +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
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
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
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
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
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
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
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
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
thorpej
69de06f36a
No need to make sure parent's cfdriver == &ioasic_cd.
2002-09-26 18:30:54 +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
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
onoe
e3261bdc94
initialize pkthdr for dummy mbuf before calling bpf_mtap().
2002-09-26 13:06:56 +00:00
jdolecek
a120eaa3ea
use ufs_balloc_range() rather than local (mostly identical, but with some
...
bugs) ext2fs variant
2002-09-26 11:06:36 +00:00
martin
8b125f54cb
Remove include of <sys/map.h>, since it's gone now (and wasn't used
...
here anyway).
2002-09-26 08:49:34 +00:00