drochner
5d591b6e06
allow any type of Turbochannel network card as boot device
...
(especially "fta")
2003-04-02 16:04:19 +00:00
drochner
4500630b4c
SBSIZE->SBLOCKSIZE (who cares about d_sbsize anyway?)
2003-04-02 15:35:31 +00:00
yamt
a14f444335
use queue manipulation macros.
2003-04-02 15:14:19 +00:00
jdolecek
a1e8c55374
g/c vc_timo from struct smb_vc - it's not used anymore
2003-04-02 15:03:37 +00:00
jdolecek
e71b725363
we now use rqp->sr_timo for request timeout value, so don't
...
reset it in smb_rq_simple(); 5 ticks (vc_timo) would be generally
too small timeout anyway
2003-04-02 15:01:52 +00:00
jdolecek
0e263cfbbf
g/c M_SMBFSMNT, it is not used anymore
2003-04-02 11:18:08 +00:00
fvdl
42614ed3f3
Add support for UFS2. UFS2 is an enhanced FFS, adding support for
...
64 bit block pointers, extended attribute storage, and a few
other things.
This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
jdolecek
5fd8296ac8
add LKM for file system SMBFS
...
XXX the LKM requires nsmb pseudo device in kernel to load successfully ATM
2003-04-02 09:45:42 +00:00
thorpej
ffc984aa7c
Use PAGE_SIZE rather than NBPG.
2003-04-02 07:53:56 +00:00
thorpej
cc2c493bc4
Use PAGE_SIZE rather than NBPG.
2003-04-02 07:35:54 +00:00
thorpej
02efafccdc
Use PAGE_SIZE rather than NBPG.
2003-04-02 04:35:22 +00:00
thorpej
c9228c8ddd
Use PAGE_SIZE rather than NBPG.
2003-04-02 04:17:50 +00:00
thorpej
44b9a2a1ec
Use PAGE_SIZE rather than NBPG.
2003-04-02 04:05:31 +00:00
thorpej
fd53a1c386
Use PAGE_SIZE rather than NBPG.
2003-04-02 03:51:33 +00:00
thorpej
dd9bc74460
Use PAGE_SIZE rather than NBPG.
2003-04-02 03:39:59 +00:00
thorpej
bc226765c8
Use PAGE_SIZE rather than NBPG.
2003-04-02 03:27:35 +00:00
thorpej
ecd9fdcc76
Oops, didn't mean to commit this.
2003-04-02 03:16:39 +00:00
thorpej
d470cda51b
Use PAGE_SIZE rather than NBPG.
2003-04-02 02:56:40 +00:00
thorpej
86f35f803c
Use PAGE_SIZE rather than NBPG.
2003-04-02 02:45:36 +00:00
thorpej
3c0e6f55e1
We use 4k pages on the sh5; make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK
...
comptile-time constants.
2003-04-02 02:44:06 +00:00
thorpej
f6aabf7609
We use 4K pages on the sh3/sh4; make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK
...
compile-time constants.
2003-04-02 02:39:47 +00:00
thorpej
30c52ef9c3
Use PAGE_SIZE rather than NBPG.
2003-04-02 02:34:12 +00:00
thorpej
9f7d0893c1
Use PAGE_SIZE rather than NBPG.
2003-04-02 02:19:29 +00:00
hpeyerl
295e297794
de-slob-ify. (I'm a slob)
2003-04-02 02:18:52 +00:00
thorpej
d57736a746
Use PAGE_SIZE rather than NBPG.
2003-04-02 01:09:19 +00:00
perry
a6e07c4e35
grow #! line length -- patch from cgd, fixes PR kern/20112 from Todd Vierling
2003-04-02 00:58:56 +00:00
thorpej
71cdc2eb5e
Use PAGE_SIZE rather than NBPG.
2003-04-02 00:44:22 +00:00
perry
7b8af330e0
Add missing COMPATs
...
From PR port-shark/20130 from Todd Vierling
While I'm in there, sort them the other way, to match other ports
2003-04-02 00:28:25 +00:00
thorpej
158cfe844c
Use PAGE_SIZE rather than NBPG.
2003-04-02 00:08:13 +00:00
thorpej
2ccc5bc00d
Make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK compile-time constants on
...
luna68k.
2003-04-02 00:03:49 +00:00
thorpej
61f1732f44
Use PAGE_SIZE rather than NBPG.
2003-04-01 23:54:11 +00:00
thorpej
7c0edb9d0e
Make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK compile-time constants for
...
PowerPC processors.
2003-04-01 23:52:35 +00:00
thorpej
720768a1f5
Use PAGE_SIZE rather than NBPG.
2003-04-01 23:47:01 +00:00
thorpej
95281cabad
Use PAGE_SIZE rather than NBPG.
2003-04-01 23:19:08 +00:00
thorpej
30c345408f
Use PAGE_SIZE rather than NBPG.
2003-04-01 22:37:25 +00:00
thorpej
957249ff69
e PAGE_SIZE rather than NBPG.
2003-04-01 22:36:01 +00:00
mycroft
bfb4fa0c88
There are two #defines of CONSPEED in here; didn't make sense to me.
2003-04-01 21:27:24 +00:00
thorpej
8818afa48e
Use PAGE_SIZE rather than NBPG.
2003-04-01 21:26:26 +00:00
mycroft
d35a2d2955
Add -DSLOW to reduce the size of libz a bit.
2003-04-01 21:25:34 +00:00
mycroft
96f88c853c
Trivial const poisoning.
2003-04-01 21:10:45 +00:00
mycroft
0b87bcb397
constify a couple of pointers.
2003-04-01 21:09:32 +00:00
thorpej
a17e74359a
Use PAGE_SIZE rather than NBPG.
2003-04-01 21:08:13 +00:00
briggs
cb2eb4a01a
Mmmm... LOCKDEBUG...
...
Change from unlock -> modify -> unlock to _lock_ -> modify -> unlock.
2003-04-01 20:59:15 +00:00
thorpej
b4fe782331
Use PAGE_SIZE rather than NBPG.
2003-04-01 20:48:27 +00:00
thorpej
14491f27dd
* Define PAGE_SHIFT, PAGE_SIZE, and PAGE_MASK in <hppa/vmparam.h>,
...
not in <hppa/param.h>.
* Define NBPG in terms of PGSHIFT.
2003-04-01 20:47:25 +00:00
thorpej
65d98ed786
Use PAGE_SIZE rather than NBPG.
2003-04-01 20:41:36 +00:00
matt
d914d04522
Cleanup PCI support.
2003-04-01 19:11:44 +00:00
hpeyerl
b5cbb20a0f
Add wscons to files.pb1000 in case someone wants to plug a kbd/mouse
...
into the USB. Add config file for DB1500. We should really make a
files.db1500 but whatever.
2003-04-01 17:40:19 +00:00
hpeyerl
badb1c52ec
OHCI front-end driver for Alchemy cpu's. We now have USB Host support.
...
Tested on PB1500 and DB1500 boards.
2003-04-01 17:36:45 +00:00
hpeyerl
2664e8455c
route a clock to the USB Host peripheral. includes code to configure
...
auxpll but this seems to come up at the right speed out of reset so it's
#if 0'd out.
2003-04-01 17:35:45 +00:00
hpeyerl
4a1358aecb
add defines for high/low level triggered interrupts (need this in au_icu.c)
2003-04-01 17:34:10 +00:00
hpeyerl
deece0b31e
s/ohci.c/ohci_aubus.c/
2003-04-01 17:31:50 +00:00
hpeyerl
29422429f6
add defines for Alchemy clock and frequency control registers.
2003-04-01 17:30:09 +00:00
hpeyerl
56f13f6fa9
allocate an aubus dma tag.
2003-04-01 17:29:11 +00:00
hpeyerl
9cda767630
support active low, level triggered interrupts, needed for ohci front end.
2003-04-01 17:28:24 +00:00
he
31f4d984cb
The adler32.c file previously from libz is no longer needed.
2003-04-01 16:50:52 +00:00
thorpej
747aa1e024
Use PAGE_SIZE rather than NBPG.
2003-04-01 16:34:58 +00:00
thorpej
d3f30fc625
We use 8K VM pages on Sun4U, so make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK
...
into compile-time constants.
2003-04-01 16:05:30 +00:00
thorpej
43e759e5ac
Use PAGE_SIZE rather than NBPG.
2003-04-01 15:47:48 +00:00
thorpej
50659edcb7
Make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK a compile-time constant on Sun2.
2003-04-01 15:33:48 +00:00
thorpej
3b9d583516
Use PAGE_SIZE rather than NBPG.
2003-04-01 15:23:07 +00:00
thorpej
1411d9951f
Use PAGE_SIZE rather than NBPG.
...
XXX Except in one place, which will require more work.
2003-04-01 15:22:53 +00:00
thorpej
e9f0a43d28
Use PAGE_SIZE rather than NBPG.
2003-04-01 15:14:20 +00:00
thorpej
d071d9a8d0
Use PAGE_SIZE rather than NBPG.
2003-04-01 15:02:05 +00:00
yamt
0296b9ddb2
add assertions and a debug check.
2003-04-01 14:58:43 +00:00
thorpej
d46b766d7d
Use PAGE_SIZE rather than NBPG.
2003-04-01 14:45:09 +00:00
he
bca180fc42
Remove what appears to be a spurious brace.
2003-04-01 14:32:09 +00:00
yamt
418bd96252
lfs_strategy is used only for read.
2003-04-01 14:31:50 +00:00
he
da63355bc0
Undo the last; adding the quad arithmetic caused the boot code to
...
overflow. Instead do as the mvme68k port, and use 32-bit daddr_t here.
2003-04-01 14:27:43 +00:00
he
369a9dc367
Adapt to daddr_t being bumped to 64 bits. This required us to add
...
div/mod quad operations to libsa, and adjusting a pair of format specifiers.
2003-04-01 13:31:23 +00:00
yamt
4f8b9f357f
add an assertion.
2003-04-01 11:59:03 +00:00
scw
e7e825f881
Remove some obsolete checks for __GNUC__ < 3.
2003-04-01 10:27:17 +00:00
scw
99e0368bfe
Add PMAP_CACHE_VIVT, since the I$ is virtually indexed/tagged.
2003-04-01 10:25:09 +00:00
scw
a7bc0a349e
Some tweaks to reduce the effect of rounding errors in tmu_microtime()
...
and the calculation of the delay() constant.
2003-04-01 10:23:30 +00:00
jdolecek
b79183a11f
g/c smb_smb_nomux(), use KASSERT() instead - if we get here with
...
process != iod, it's netsmb/smbfs code error
2003-04-01 08:35:42 +00:00
dogcow
5ee791c103
bring into conformance with RFC 3514
2003-04-01 07:39:47 +00:00
igy
e7735eb5b9
add comment for VR4181
2003-04-01 02:45:34 +00:00
igy
775eee3514
correcting register definition for VR4181
2003-04-01 02:33:51 +00:00
thorpej
3faec1e02a
Use PAGE_SIZE rather than NBPG.
2003-04-01 02:17:17 +00:00
thorpej
f8d3a59131
Use PAGE_SIZE rather than NBPG.
...
XXX Except for one place, which will require more work.
2003-04-01 02:15:45 +00:00
thorpej
89a25a097c
Use PAGE_SIZE rather than NBPG.
2003-04-01 02:13:53 +00:00
thorpej
52d8769e0b
Use PAGE_SIZE rather than NBPG.
2003-04-01 02:01:43 +00:00
thorpej
d58deb08c2
Use PAGE_SIZE rather than NBPG.
...
XXX Except in one place which will require more work.
2003-04-01 01:58:14 +00:00
thorpej
24ab4adb9c
Use PAGE_SIZE rather than NBPG.
2003-04-01 01:53:40 +00:00
thorpej
f4a068d5c2
Use PAGE_SIZE rather than NBPG.
2003-04-01 01:43:29 +00:00
thorpej
c53de7dd38
* Use PAGE_SIZE rather than NBPG.
...
* Use malloc()/free(), rather than MALLOC()/FREE(), since the page size
might not be a compile-time constant.
2003-04-01 01:41:39 +00:00
itojun
a81c2be8be
avoid mbuf leak in redirect header option attachment. more complete
...
fix to come. from kame
2003-03-31 23:55:46 +00:00
thorpej
e48b2dc368
Make PAGE_SIZE a constant on acorn26.
2003-03-31 21:30:56 +00:00
augustss
a302bab585
Add an option to disable fast back-to-back transfers since this
...
breaks certain hardware combinations.
2003-03-31 21:04:40 +00:00
fvdl
e80c0648b1
The modified flag must be cleared before the last sbupdate call in
...
unmount, because ffs_flushfiles or softdep_flushfiles may have
modified the filesystem (despite VFS_SYNC having been called first).
2003-03-31 21:02:12 +00:00
jdolecek
6e5e05ca45
run iod at splnet, to eliminate race agains receive upcall wakeup,
...
so that iod wouldn't pause when the reply comes fast enough
to catch iod between smb_iod_recvall() and tsleep()
this gives nice performance boost for workloads with many synchronously
submitted transactions, like ls -lR
iod now doesn't need to wakeup periodically, so don't use any timeout
for its tsleep(); also use higher priority PSOCK instead of PWAIT
2003-03-31 20:59:35 +00:00
thorpej
a8b54dc6f5
Use <arm/proc.h>.
2003-03-31 19:53:25 +00:00
chris
d19c70cbe2
Fix for PR arm/17971. Used patch as provided
...
Compiled, but no hardware to test on.
2003-03-31 19:52:35 +00:00
jdolecek
cd8e491e95
sprinkle const qualifiers to const stuff
2003-03-31 18:47:58 +00:00
jdolecek
dc859b2165
do recursive lock in smb_co_gone() - this code could be invoked
...
on error returns paths with parent still locked, which would
cause 'locking against myself' panic with nonrecursive lock
fixes problem where invalid share name would cause a panic
via smb_sm_lookup() -> smb_share_put()
many thanks to Matthias Drochner for pointing out easy way how to
trigger this problem
2003-03-31 18:24:58 +00:00
yamt
1f94d18621
rename fvdl_debug to NFS_DEBUG_COMMIT.
...
ok'ed by fvdl.
2003-03-31 14:47:03 +00:00
yamt
0d3c7b7285
adapt to file interlock.
2003-03-31 14:43:59 +00:00
elric
00a9b3965c
Removed some debugging printfs that made it into the tree.
2003-03-31 08:45:08 +00:00
perry
5afd6ce206
revert for now -- cancelled seems to be used more often than canceled
2003-03-31 03:35:02 +00:00
perry
29c5490e43
again, for consistency, cancelled->canceled (I fear the flames)
2003-03-31 03:26:34 +00:00
perry
253eea8c49
For consistency, initialise->initialize.
...
(No it isn't anti-UK bias -- just trying to keep the whole system to
one consistent spelling.)
2003-03-31 03:23:38 +00:00
rafal
0adc6315a0
Oops, make sure to re-enable the IP32 watchdog correctly, else we end up
...
getting random reboots after returning from DDB.
2003-03-31 00:56:53 +00:00
jdolecek
3f1816bf46
sprinkle some const qualifiers
2003-03-30 19:20:37 +00:00
jdolecek
95aaf6bde8
use callout for request timeout, so that it could expire independantly
...
of iod calling smb_iod_sendall()
g/c now unneeded request timeout expire check from smb_iod_sendall()
make it possible to override default request timeout - set timeout
value in smb_rq_init() to default value, caller can adjust the value
before calling smb_iod_sendrq(); value <=0 means no timeout
2003-03-30 11:58:17 +00:00
jdolecek
349bcca42d
whitespace fixes
...
do not inline smb_iod_rqprocessed()
make smb_iod_sendall(), smb_iod_recvall() 'return' void - the return value
was always ignored
smb_iod_recvall(): turn an programming error condition check to KASSERT()
smb_iod_main(): g/c unused 'error' local
smb_iod_thread(): iod_p is assigned in smb_iod_create(), so just KASSERT()
it's correct here
2003-03-30 11:27:45 +00:00
jdolecek
3cac807cc4
whitespace KNF
2003-03-30 09:44:28 +00:00
tsutsui
71446bc717
Use 32bit daddr_t.
2003-03-30 08:52:23 +00:00
tsutsui
361715b6e1
Sync with news68k/disksubr.c rev 1.11-1.13:
...
- Fix -Wsign-compare warnings.
- Drop trailing white space.
- Since current sdstrategy() calls bounds_check_with_label() implicitly,
allow overwriting disklabel for RAW_PART in bounds_check_with_label().
- Also allow overwriting disklabel even for !RAW_PART if securelevel == 0
so that installboot(8) can write bootblock against 'a' partition.
- labelsector is at top of RAW_PART, not 'a' partition.
2003-03-30 08:42:00 +00:00
tsutsui
3917373a21
- Since current sdstrategy() calls bounds_check_with_label() implicitly,
...
allow overwriting disklabel for RAW_PART in bounds_check_with_label().
- Also allow overwriting disklabel even for !RAW_PART if securelevel == 0
so that installboot(8) can write bootblock against 'a' partition.
- labelsector is at top of RAW_PART, not 'a' partition.
2003-03-30 08:37:16 +00:00
tsutsui
b1b52ec626
Use 32bit daddr_t.
2003-03-30 08:01:13 +00:00
isaki
5f88fc57fa
Make it compilable.
...
see http://mail-index.netbsd.org/source-changes/2003/03/26/0009.html
2003-03-30 07:58:03 +00:00
toshii
ba612a905f
Use MaxPacketSize for setting up isochronous pipe for recording.
...
This fixes dropping samples.
2003-03-30 04:47:13 +00:00
matt
374319260c
Don't free chqueue since it's no longer malloc'ed.
2003-03-30 02:06:29 +00:00
kristerw
820df2464a
Remove unneeded cast that prevents PC_REGS from being used as lvalue.
2003-03-30 02:03:12 +00:00
kristerw
c3b2957983
#include "opt_kgdb.h"
2003-03-30 01:20:13 +00:00
provos
cb0252af40
avoid a panic due to recent changes in kern_fork.c; prepare for lwp by
...
keeping messages independent of the process itself
2003-03-30 00:40:05 +00:00
thorpej
7f9b4b1a1c
Add some braces to make a block of code a bit easier to read.
2003-03-30 00:28:19 +00:00
kristerw
6a6ff92fd5
Revert last change (dependance on divdi3.c, moddi3.c, and qdivrem.c) and
...
use 32bit daddr_t instead, as suggested by Izumi Tsutsui.
2003-03-30 00:17:28 +00:00
wiz
0acfa3bb9e
Consistently spell occurrence with two rs.
2003-03-29 22:48:37 +00:00
thorpej
7a3fa51b7f
Garbage-collect the DYNAMIC_CRC_TABLE stuff. The table it computed
...
was incompatible with the new CRC code, and it is largely unnecessary
now, since the static table is so much smaller.
Fixes PR kern/20935.
2003-03-29 22:25:25 +00:00
scw
ec17fb4b99
Fix bus_space_read_region_N() to work as advertised.
2003-03-29 22:07:14 +00:00
jdolecek
32657d0d79
remove incorrect DEBUG check of recursive lock in smb_co_lock() - the check
...
incorrectly bombed when the exclusive lock was help by different process
(*yuck*)
lockmgr() checks for 'locking against myself' type of locking problems itself,
so no need to do any additional checks
2003-03-29 21:42:44 +00:00
jdc
6df227f447
Regenerate.
...
(Add support for USRobotics Wireless Access PCI adapter (model 132415).)
2003-03-29 20:56:54 +00:00
jdc
8e265123d8
Add support for USRobotics Wireless Access PCI adapter (model 132415).
...
From Sergio Jimenez in PR kern/20642.
2003-03-29 20:49:03 +00:00
matt
6c8a4d2615
Make this compile again.
2003-03-29 20:15:31 +00:00
matt
6a15c68f5d
Make sure to turn on the speed knobs in HID0 on the 745x.
2003-03-29 18:18:54 +00:00
matt
2c37db6aec
Allow oea_batinit to be called with either the MMU on or off.
...
(don't reset the BATs if the MMU is off).
2003-03-29 18:09:59 +00:00
matt
b3715c2f6a
Add 7450 LRSTK and FOLD bits.
2003-03-29 18:08:42 +00:00
perry
3942053914
regen
2003-03-29 16:48:02 +00:00
perry
c0eb24419a
support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932
2003-03-29 16:47:27 +00:00
he
f8cb6d60a7
Allow this file to be included if either of audio, midi or midibus
...
is non-zero (earlier only allowed it if audio was non-zero). Fixes
build problem seen on the prep port.
2003-03-29 13:57:43 +00:00
manu
fd94bf9486
First work on notifications. Not really working for now.
2003-03-29 11:04:08 +00:00
bsh
347085b57d
put options XSCALE_CACHE_WRITE_THROUGH into opt_cpuoptions.h.
...
add XSCALE_CACHE_WRITE_BACK.
2003-03-29 07:59:41 +00:00
bsh
105db01dcd
for Intel PXA2[15][05] processors, select write-back/write-through
...
cache based on CPU id. write-through on PXA2[15]0 B2 stepping and
earlier. write-back on C0 and C1 stepping (a.k.a PXA2[15]5 A0)
options XSCALE_CACHE_WRITE_{THROUGH,BACK} can override it.
for other XScale CPUs than PXA2xx, XSCALE_CACHE_WRITE_THROUGH works
same as before.
2003-03-29 07:58:16 +00:00
dyoung
243f751604
Support so-called "PLX" bridge for wi(4). From FreeBSD via Simon
...
Burge. Simon writes,
"Here's the patch that Grant and I have been using on a combinations of
architectures and both NetBSD 1.6 and -current.
"This is based on FreeBSD - look for
/* We have to do a magic PLX poke to enable interrupts */
in
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wi/if_wi_pci.c
2003-03-29 03:25:22 +00:00
fvdl
691b2fa7db
The checkpoint loop always used (multiples of) lfs_sepb as the number
...
of segments to mark. However, this may be much more than lfs_nseg.
Originally this wasn't a big problem, since only the structures in the
diskblock were changed, but nowadays there's a mirror of the segflags
in the in-core superblock. This problem caused the code to walk
way past the end of that allocated area, causing memory corruption
in other kernel structures. So, use lfs_nseg as the maximum, as it should be.
While here, simplify the loop; it had become an obfuscated piece of
code overtime.
2003-03-28 22:39:42 +00:00
he
8cd91d8236
Commit a workaround for PR toolchain/20924, so that this compiles again.
...
When/if the PR is fixed, this change should probably be reverted.
2003-03-28 20:25:40 +00:00
he
b218b0c7c5
Compensate for the change of type for io_netif by adding a cast so
...
that this compiles again.
2003-03-28 18:16:59 +00:00
yamt
9fe1125599
reply FSINFO rtmax and wtmax for DGRAM properly.
2003-03-28 15:24:58 +00:00
yamt
b44d2a5667
i forgot to check this in with the previous (reply ENAMETOOLONG properly).
2003-03-28 15:13:35 +00:00
he
cb89d3a368
Initialize the two new members of consdev (cn_halt, cn_flush) to NULL so
...
that this compiles again.
2003-03-28 14:10:56 +00:00
perry
935d1a04e3
Fix PR/20903 for real.
...
Identical patches supplied by:
Masuda Hideo <h-masuda@ootani.nagata.kobe.jp>
Christopher SEKIYA <wileyc@rezrov.net>
2003-03-28 13:58:40 +00:00
yamt
2d45e41adb
reply ENAMETOOLONG properly instead of discarding request as BADRPC.
...
my own PR20791.
2003-03-28 13:05:47 +00:00
yamt
8a890efe2b
if rsize was explicitly specified by mount_nfs,
...
prefer it to rtpref from nfsd. the same for wsize and wtpref.
ok'ed by fvdl.
2003-03-28 12:33:17 +00:00
he
85b87f244e
Initialize the new members of consdev (cn_halt, cn_flush) to NULL so
...
that this compiles again.
2003-03-28 10:45:40 +00:00
scw
ea960960c0
We need to preserve SSR/SPC when switching ASIDs as we could be called
...
while handling a TLB miss (via the pmap_pte_spill() function), in which
case SSR/SPC are live.
2003-03-28 09:48:07 +00:00
perseant
3f7016035a
Add a sleeper count, to prevent the cleaner from panicing the kernel
...
when the filesystem is unmounted, relocking the Ifile when its lock is
draining. (We can't use vfs_busy() since the process is sleeping for a
good long time.) Clean up / organize lfs.h, while I'm here.
In lfs_update_single, assert that disk addresses are either negative, or
are still positive when converted to int32_t, to prevent recurrence of a
negative/positive block problem.
2003-03-28 08:03:38 +00:00
he
fd386b5a4d
Initialize new members (cn_halt and cn_flush) in consdev to NULL to
...
allow this to compile again.
2003-03-28 07:10:35 +00:00
scw
7fdeb41460
Fix for previous: frob SR, not SSR.
2003-03-27 20:21:27 +00:00
perry
964bf1e7f5
ifdef out something dependent on PCI_VENDOR_COREGA for now.
2003-03-27 20:09:07 +00:00