yamt
ec18670e28
fix printf formats to match with sys/buf.h rev.1.75.
...
PR/26994 from Andreas Wiese.
2004-09-19 12:22:22 +00:00
yamt
cc047d3821
um_maxfilesize should be set after
...
ffs_oldfscompat_read adjusted fs_maxfilesize.
2004-09-19 11:58:29 +00:00
tron
1263e27807
Update commt about "OBJECT_FMT": only ns32k uses "a.out" these days.
2004-09-19 08:56:22 +00:00
christos
2611d5a68f
KNF; Simplify some logic, so that lines don't wrap. Explain why we
...
break, continue, or return from the tty scanning loops.
2004-09-18 20:14:22 +00:00
mycroft
7ef0686963
If our enqueue failed -- because we're polling and there is already something
...
in the queue -- do not attempt to requeue it. We only poll in two cases:
1) We have a non-interrupting controller. In this case, execution of the
previous command should have left the queue empty. (Perhaps there should be
a KASSERT() to this effect.)
2) We're in the shutdown path, either doing a cache sync or a dump. In these
cases, the retry behavior is useless, because we will no longer get
interrupts to notify us that the earlier commands completed. Instead we
just spin for a few seconds and fail anyway. (XXX We should probably clear
the queue explicitly so that the shutdown/dump will succeed.)
2004-09-18 18:49:50 +00:00
mycroft
b89029809c
Since we always defer probing SCSI and ATAPI devices now, we can never be
...
"cold" -- so change the check for this to a KASSERT().
2004-09-18 18:29:00 +00:00
mycroft
007ffe47ec
Oops; eliminate the EJUSTRETURN return value from scsipi_execute_xs(). Don't
...
know how this worked when I tested it.
2004-09-18 18:00:05 +00:00
yamt
2936303c19
openpty: just check errors of syscalls,
...
instead of checking permission beforehand in userland.
2004-09-18 16:44:38 +00:00
yamt
22399b45d0
change some members of struct buf from long to int.
...
ride on 2.0H.
2004-09-18 16:40:11 +00:00
yamt
3362d4ed5b
fix allocbuf() O(n**2) behaviour where n is number of AGE buffers
...
by always tracking amount of buffers on a queue.
bump to 2.0H.
2004-09-18 16:37:12 +00:00
yamt
0a9623de9c
call PFIL_IFADDR hooks where appropriate.
2004-09-18 16:04:41 +00:00
yamt
2bf1a4ef17
- add missing function prototypes.
...
- fix prototype mismatches.
2004-09-18 16:01:03 +00:00
jdolecek
62b15febd3
make othercase() return int rather than char, to avoid sign extension
...
bug with character codes >= 128
fixes PR lib/26986 by Alexander Becher
2004-09-18 11:47:37 +00:00
wiz
0cd74d2a4b
Fix formatting bug reported by Chris Ross in PR 26989.
2004-09-18 11:41:08 +00:00
martin
06e56dc6b2
Add support for PCI-X version of LSI FC929; from Bert Kiers in PR kern/26836.
2004-09-18 08:52:50 +00:00
martin
9d347457c2
Regen (FC929X added)
2004-09-18 08:48:29 +00:00
martin
7a56ae33d2
Add LSI FC929 (aka FC929X); from PR kern/26836.
2004-09-18 08:47:46 +00:00
jdolecek
3e385f3b90
vinumioctl():
...
actually, those return statements were reachable, so put them back to the
appropriate case statements, and add some break statements for readability
2004-09-18 07:38:26 +00:00
rtr
42dc449815
+ add arch specific flags for ati driver should resolve pr#25918
...
XXX
This pr remains in feedback because I never did get confirmation that
this change resolved the problem. People are free to test it and if
desired request a pull up to 2.0 branch. I will not be requesting the
pullup.
2004-09-18 06:49:27 +00:00
itohy
05d92b70c7
Make sure the string dollar NetBSD doller is stored literally.
2004-09-18 03:32:30 +00:00
mycroft
18f4edd320
We don't need to handle the "cold" flag here.
2004-09-18 02:21:33 +00:00
mycroft
7e54a3ad57
If we need to poll, set SCSIPI_ADAPT_POLL_ONLY rather than a homegrown flag.
2004-09-18 02:18:39 +00:00
mycroft
a7aa9498f3
Minor rearrangement. Whitespace and #include cleanup.
2004-09-18 00:21:03 +00:00
mycroft
8f93b96f00
Standardize some variable names and the calling pattern for scsipi_command().
...
Use void pointer casts.
2004-09-18 00:08:16 +00:00
itohy
829103b30f
Make it work again.
...
Hi, drochner!
2004-09-17 23:59:33 +00:00
mycroft
1e243afe67
Remove the "xfer" argument to scsipi_command().
2004-09-17 23:43:17 +00:00
mycroft
cdc20e6ce8
In places where we've already called scsipi_make_xs(), call scsipi_execute_xs()
...
directly rather than going through scsipi_command().
2004-09-17 23:35:13 +00:00
enami
006eb65868
s,contro,&l, in a comment.
2004-09-17 23:32:09 +00:00
mycroft
ba781da1dc
Change the way bustype_cmd is used. Rather than having it be responsible for
...
calling scsipi_make_xs() and scsipi_execute_xs(), instead push these into
scsipi_command. Make bustype_cmd and PHOLD/PRELE be called from
scsipi_execute_xs(). This allows us to create a xfer structure -- possibly on
the stack -- and call scsipi_execute_xs() directly.
2004-09-17 23:30:22 +00:00
enami
53d0cedc9f
Put the type of p_tracep back to void *; it is an implementation detail and
...
no need to expose to the rest of kernel.
2004-09-17 23:26:42 +00:00
enami
23114636eb
Delete m_tag from a mbuf being non-pkthdr mbuf rather than newly becoming
...
pkthdr mbuf.
2004-09-17 23:24:03 +00:00
enami
6d7958ac59
Minimal support for mirror component. The relation between original and
...
mirror component learned from FreeBSD driver.
2004-09-17 23:21:53 +00:00
enami
a3eb2d5952
- proc_alloc() already initializes p_stat to SIDL.
...
- copy unconditionaly inherited p_flag bits in a single place.
2004-09-17 23:20:21 +00:00
mycroft
bd9548b268
Oops; fix ssrestart().
2004-09-17 23:13:02 +00:00
mycroft
8b6c2af171
Do not manipulate xs->bp in "generic" code -- do it only in the psw_done
...
routine. As part of this, pass down our pre-parsed error code -- though this
interface will probably change later to accomodate better error handling.
2004-09-17 23:10:50 +00:00
enami
45bae472de
Whitespace nit.
2004-09-17 23:04:02 +00:00
enami
41122731c8
Redo part of rev. 1.10.
2004-09-17 21:54:28 +00:00
yamt
9555030270
make free page queue filo rather than fifo.
...
data in pages freed more recently are more likely on cpu cache.
2004-09-17 20:46:03 +00:00
jdolecek
9acf283bdf
vinum_super_ioctl(): refuse unknown ioctls, rather than pretending
...
success; this fixes panic caused by null pointer dereference in
spec_open() after DIOCGPART ioctl call and PR bin/26981 by Simon Hitzemann
while here, also remove not reachable return statements, and also
return EINVAL for ioctl to unknown DEVTYPE()s
XXX vinum code is !@#$%^
2004-09-17 19:21:03 +00:00
itojun
0f8f9a1f56
deal with PCMCIA_TPCE_IO_RANGE_ADDRSIZE_NONE and
...
PCMCIA_TPCE_IO_RANGE_LENGTHSIZE_NONE properly. enami
solves kern/26726.
2004-09-17 18:42:41 +00:00
wrstuden
699e5d41fb
In procese_menu, make sure we initializie the menus
...
_before_ we access the MENUS macro. Otherwise we get a segfault.
2004-09-17 18:27:28 +00:00
wrstuden
e22217703e
Catch up with current menuc.
2004-09-17 18:16:44 +00:00
wrstuden
af7a153178
Scoot a menu so it fits better in an xterm.
2004-09-17 18:16:31 +00:00
wrstuden
3f87739bc4
Add parenthesis to silence a compiler warning.
2004-09-17 18:15:01 +00:00
xtraeme
37db99c68f
Regen for GeForce FX 5700 LE.
2004-09-17 18:05:27 +00:00
xtraeme
0c35004c2f
Add GeForceFX 5700 LE and regen.
2004-09-17 16:04:17 +00:00
skrll
f7155e40f6
There's no need to pass a proc value when using UIO_SYSSPACE with
...
vn_rdwr(9) and uiomove(9).
OK'd by Jason Thorpe
2004-09-17 14:11:20 +00:00
yamt
22ce35857e
fix blks command.
...
- use 64-bit variables for lbns.
- correct file block offsets in the case of absent indirect blocks.
2004-09-17 12:18:55 +00:00
yamt
4c7a64e02d
make this compile with OHCI_DEBUG without EHCI_DEBUG.
2004-09-17 10:55:07 +00:00
bouyer
cdc0918196
In case of error, reset the channel with AT_RST_NOCMD. We know the reset
...
won't abort any command at this point.
2004-09-16 20:52:43 +00:00