matt
0d90a1db08
No reason to malloc channel_queue, put it in the softc instead. Clean up
...
a few other things while here.
2003-03-22 19:57:14 +00:00
jdolecek
7f97807187
for NO_PGID, use ((pid_t)-1) rather than (-(pid_t)1)
2003-03-22 14:35:38 +00:00
jdolecek
36dc52ad95
regen - add 3Com TCM6790 entry
2003-03-22 14:31:28 +00:00
jdolecek
eede41c54a
add TCM6790 entry
2003-03-22 14:30:48 +00:00
simonb
0a30e5fb17
Fix a grammatical nit.
2003-03-22 14:26:41 +00:00
jdolecek
a834690527
use LIST_FOREACH() in selwakeup() for the process's lwp walk loop
2003-03-22 14:13:06 +00:00
dsl
281c2b075c
GEOM_DEBUG was left set :-(
2003-03-22 13:05:26 +00:00
nakayama
14a2f27862
Make it compile in big endian.
2003-03-22 11:32:38 +00:00
dsl
6f803e005b
Correct rewinding if FIONBIO or FIOASYNC fail in F_SETFL
...
(code use to always turn off FIONBIO if FIOASYNC fails)
(approved by christos)
2003-03-22 10:39:47 +00:00
dsl
1f2e35430b
Change caddr_t to void *
2003-03-22 10:35:01 +00:00
nakayama
ac2c6fba75
Make it compile again; follow fo_ioctl change (hi David!).
2003-03-22 07:54:22 +00:00
nakayama
7bb8250096
PCI-CardBus bridge support for sparc64:
...
- add CardBus and PCMCIA devices configrations.
- add workaround for internal compiler error on dev/ic/elink3.c.
2003-03-22 06:39:43 +00:00
nakayama
b1a9940dae
PCI-CardBus bridge support for sparc64:
...
- add MD part of cardbus support.
2003-03-22 06:36:18 +00:00
nakayama
11529a0609
PCI-CardBus bridge support for sparc64:
...
- add splsoftserial.
2003-03-22 06:34:28 +00:00
nakayama
aad45dd3ad
PCI-CardBus bridge support for sparc64:
...
- handle devices which has no OBP node.
- move PCI latency-timer initialization from pci_intr_map to
pci_enumerate_bus.
- make PCI bus free space extents for cardbus devices.
- fix PCI config space map size.
- some code integrations.
2003-03-22 06:33:09 +00:00
nakayama
a8e1b2f5c5
PCI-CardBus bridge support for sparc64:
...
- add pccbb_attach_hook in pccbbattach for MD initializations.
- omit arithmetics to bus_space_handle_t.
- remove use of IST_LEVEL; not defined on sparc64 and unused.
2003-03-22 06:25:14 +00:00
nakayama
64f7818314
PCI-CardBus bridge support for sparc64:
...
- use u_long for extent_alloc_subregion result instead of bus_addr_t.
(sizeof u_long != sizeof bus_addr_t on 32bit kernels of sparc64)
2003-03-22 06:18:22 +00:00
thorpej
5abaeacf22
* Bump m_flags from "short" to "int", and shuffle the m_hdr accordingly.
...
As discussed on tech-net.
* Define a range of bits in the new wider m_flags which are reserved for
M_EXT mbufs. Define M_EXT_CLUSTER to indicate the ext is a cluster, and
re-define M_CLUSTER as M_EXT_CLUSTER for source-level compatibility.
* Define a new M_EXTCOPYFLAGS to be used when manipulating M_EXT state.
2003-03-22 02:21:57 +00:00
dsl
bd99e3429d
Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
...
and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).
2003-03-21 23:11:19 +00:00
thorpej
3f2184def7
Work around a buggy PHY in some Seagate S-ATA drives which get confused
...
by the way some S-ATA controllers packetize data when the sector count of
the transfer mod 15 is 1.
2003-03-21 22:40:56 +00:00
dsl
60418b39b7
Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
...
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/copyout as well.
(approved by christos - he has a plan to remove caddr_t...)
2003-03-21 21:13:50 +00:00
mjacob
2b72827e41
Fibre Channel doesn't need bus reset settle time.
2003-03-21 18:05:16 +00:00
drochner
05bdb0b97d
make these compile after struct consdev change
2003-03-21 17:23:22 +00:00
fvdl
543510a84d
LFS likes to store negative values in the dinode block pointers, so
...
make sure to cast the value back to int32_t after it was changed
by ufs_rw32, before passing it to blkptrtodb.
2003-03-21 15:46:32 +00:00
nakayama
aab55006b2
Follow a struct consdev changes.
...
Pointed out by Tsuyoshi AKIHO in the port-hpcmips-ja mailing list.
2003-03-21 14:44:28 +00:00
uwe
f6280fb246
Add igsfb.
2003-03-21 09:59:30 +00:00
perseant
78dff1cfa3
KNF (space after keywords).
2003-03-21 06:26:36 +00:00
perseant
a37f4cf7ec
Use VONWORKLST as a heuristic for vnode emptiness, rather than exhaustively
...
checking the memq.
Take greater care not to dirty the Ifile vnode when unmounting the filesystem.
This should fix a "(vp->v_flag & VONWORKLST) == 0" assertion panic in vgonel
that could occur when unmounting.
Do not allow the Ifile to be mapped for writing.
2003-03-21 06:16:53 +00:00
yamt
e8d83a0b17
make this compilable with DIAGNOSTIC and without DEBUG.
...
fix PR 20827 from FUKAUMI Naoki.
2003-03-21 06:09:08 +00:00
tsutsui
1654f7e057
Yet another leftover of struct consdev changes..
2003-03-21 04:35:02 +00:00
fvdl
6f16ef3a25
Strip some stuff that's not needed.
2003-03-20 22:30:53 +00:00
fvdl
b52610cf4a
Limit the KVA used by buffers.
2003-03-20 22:30:28 +00:00
drochner
2e8a9de36c
memcmp()->bcmp(), this gives us 32 bytes and makes bootxx_ffs
...
build again
2003-03-20 18:41:46 +00:00
tsutsui
8d3aeb9abc
Rewrite user space access functions which use gcc's "labels as values"
...
extension in asm to avoid unexpected code omission during optimization
which causes wrong return value on faults.
2003-03-20 17:45:14 +00:00
yamt
a8e8f3ea02
lfs_writevnodes:
...
in the case of "starting over", kick lfs_writeseg
in order to avoid deadlock in check_dirty.
2003-03-20 14:17:21 +00:00
yamt
91ce94db76
fix "more than one fragment" panics;
...
direct and indirect block pointers are not valid in the case of shortlinks.
while i'm here, move duplicated code in lfs_vget/fastvget into a new
function, lfs_vinit.
2003-03-20 14:11:46 +00:00
perseant
12a78a5a7e
Don't break out of Ifile-writing loop in lfs_segwrite until nothing is left.
...
Note however that blocks can be added to the Ifile even when the segment
block is held because of inodes' atime. Do not panic with "dirty blocks"
if these blocks are present.
2003-03-20 06:51:17 +00:00
perseant
c364d884f6
Hold the segment lock during truncation to prevent indirect blocks from
...
being written by lfs_updatemeta while lfs_truncate is also writing them,
a bug pointed out by YAMAMOTO Takashi <yamt@netbsd.org>.
2003-03-20 06:47:38 +00:00
thorpej
35b45642d8
Regen; add more LSI MPT IDs.
2003-03-20 05:50:12 +00:00
dbj
1820cd2e5c
use PRId64 to printf bp->b_blkno, which is of type daddr_t
2003-03-20 05:49:21 +00:00
thorpej
5d2e1c600f
Add some more LSI MPT IDs.
2003-03-20 05:49:20 +00:00
thorpej
d7e289bb70
Add support for the Silicon Image SATALink 3112 Serial ATA controller.
2003-03-20 04:22:49 +00:00
dsl
9c29dd1922
Indentation fixes
2003-03-19 20:35:04 +00:00
christos
fb66693ce7
It is not appropriate for pcivar.h to include "locators.h"
...
The two files that need it, should include it themselves.
2003-03-19 17:56:58 +00:00
drochner
11d8ce0e4e
catch up with constification in sys/lib/libsa/nfs.c
2003-03-19 17:27:43 +00:00
bouyer
a9065a3962
tl(4) supports ETHERCAP_VLAN_MTU.
2003-03-19 17:23:26 +00:00
drochner
7349f5c301
"bootparam" specific variables are defined in libsa/bootparam.c now.
2003-03-19 17:21:41 +00:00
drochner
f81c1c504b
remove stuff just moved to bootparam.c and some variables which are
...
never used.
2003-03-19 17:19:32 +00:00
drochner
3906113e15
Move global variables which are used only by bootparam here.
...
("domainname" is useless and could be removed, but adding code to
skip this in the RPC reply would probably be more expensive than leaving
it as a dummy variable.)
2003-03-19 17:18:07 +00:00
christos
a56ea22f68
- use __predict_false for DIAGNOSTIC code.
...
- #ifdef out a DIAGNOSTIC printf() that was too annoying (rule of thumb,
don't make DIAGNOSTIC printfs() that print *very* frequently...)
- fix DIAGNOSTIC test that would always get triggered on a new session.
2003-03-19 16:47:36 +00:00