Thread View: fj.os.386bsd
2 messages
2 total messages
Started by UKAI Fumitoshi
Thu, 11 Mar 1993 14:27
[PC98] SASI(hd) disk patch
Author: UKAI Fumitoshi
Date: Thu, 11 Mar 1993 14:27
Date: Thu, 11 Mar 1993 14:27
90 lines
3229 bytes
3229 bytes
$@$&$+$$!w5~Bg%^%$(J$@%3%s%/%i%V$G$9!#(J
$@MWK>$,B?$$$h$&$G$9$N$G!"(JSASI $@$N(J patch $@$rN.$7$^$9!#(J
$@$H$j$"$($:!"(JSASI disk $@$K$h$C$F$O(J$@$3$l$GF0$/$h$&$K$J$j$^$9!#(J
$@$3$l$r(J /sys/pc98/pc98/hd.c $@$K$"$F$F(J kernel $@$r:n$jD>$7$F2<$5$$!#(J
----------------$@$3$3$+$i(J------------------------------------------------
*** /usr1/386BSD/98/sys98/sys/pc98/pc98/hd.c Thu Dec 24 07:05:07 1992
--- hd.c Wed Feb 10 21:44:42 1993
***************
*** 39,45 ****
*
*/
#if 0
! static char rcsid[] = "$Id: hd.c,v 1.4 1992/12/23 22:04:44 ukai Exp ukai $";
#endif
/*
--- 39,45 ----
*
*/
#if 0
! static char rcsid[] = "$Id: hd.c,v 1.5 1993/02/10 12:44:30 ukai Exp ukai $";
#endif
/*
***************
*** 456,462 ****
HDDEBUG2(printf("unit=%d ", unit));
bp->b_error = 0;
! #if 1
/* if not really a transfer, do control operations specially */
if (hd->dk_state < OPEN) {
HDDEBUG2(printf("dk_state %d<OPEN,", hd->dk_state));
--- 456,462 ----
HDDEBUG2(printf("unit=%d ", unit));
bp->b_error = 0;
! #if 0/*1*/
/* if not really a transfer, do control operations specially */
if (hd->dk_state < OPEN) {
HDDEBUG2(printf("dk_state %d<OPEN,", hd->dk_state));
***************
*** 716,722 ****
}
}
! #if 1
/* is it not a transfer, but a control operation? */
if (hd->dk_state < OPEN) {
HDDEBUG2(printf("state %d <OPEN ", hd->dk_state));
--- 716,722 ----
}
}
! #if 0/*1*/
/* is it not a transfer, but a control operation? */
if (hd->dk_state < OPEN) {
HDDEBUG2(printf("state %d <OPEN ", hd->dk_state));
***************
*** 1072,1078 ****
while (!((c = inb(hdc+hd_ccsr)) & HDCS_CXD)
|| (c & HDCS_IXO)
|| (c & HDCS_MSG)) {
! ;
}
HDDEBUG2(printf("set ,"));
s = splbio();
--- 1072,1082 ----
while (!((c = inb(hdc+hd_ccsr)) & HDCS_CXD)
|| (c & HDCS_IXO)
|| (c & HDCS_MSG)) {
! /* 1993/02/10 ukai */
! if (--timeout <=0 ) {
! HDDEBUG2(printf("TIMEOUT!"));
! return (-1);
! }
}
HDDEBUG2(printf("set ,"));
s = splbio();
----------------$@$3(J$@$3$^$G(J------------------------------------------------
# $@$?$@$7!"K\Ev$K$3$l$G$$$$$N$+$o$+$j$^$;$s$,!#(J
---
$@1-;tJ8IR(J
$@5~ETBg3XBg3X1!9)3X8&5f2J1~MQ%7%9%F%`2J3X@l96D9C+@n8&(J ukai@kuamp.kyoto-u.ac.jp
$@5~Bg%^%$(J$@%3%s%/%i%V(J ukai@kmc.kyoto-u.ac.jp
Re: [PC98] SASI(hd) disk patch
Author: Mikihiko Nakao
Date: Fri, 12 Mar 1993 04:13
Date: Fri, 12 Mar 1993 04:13
20 lines
1597 bytes
1597 bytes
$@ElBg3K8&$NCfHx$G$9!#(J
In article <1993Mar11.053729.14000@kuamp.kyoto-u.ac.jp> ukai@kuamp.kyoto-u.ac.jp (UKAI Fumitoshi) writes:
> $@$&$+$$!w5~Bg%^%$%3%s%/%i%V$G$9!#(J
>
> $@MWK>$,B?$$$h$&$G$9$N$G!"(JSASI $@$N(J patch $@$rN.$7$^$9!#(J
$@$I$&$b$"$j$,$H$&$4$6$$$^$9!#M>$C$F$$$k(JSASI-HD$@$r(J$@3hMQ$G$-$k$H$$$&0UL#(J
$@$G!"<{MW$OB?$$$H;W$$$^$9(J($@2H$N(J98$@$b$=$&$G$9(J)$@!#(J
> # $@$?$@$7!"K\Ev$K$3$l$G$$$$$N$+(J$@$o$+$j$^$;$s$,!#(J
$@KM$N$H$3$m$G$b(J2$@$+=j$N(J#if 1$@$r(J#if 0$@$K$9$l$PF0$/$H$$$&$3$H$rJL$NJ}$+$i(J
$@65$($F$b$i$C$F!"(JSASI$@$,;H$($k$h$&$K$J$j$^$7$?!#(JHDD$@$O%3%s%T%e!<%?!&%j(J
$@%5!<%A$N(JIH8E(PC-9801ES2$@FbB"MQ$N(J80M)$@$G$9!#(J
--
$@El5~(J$@Bg3X86;R3K8&5f=j9b%(%M%k%.!<It(J($@Gn;N2]Dx(J) $@CfHx(J $@44I'(J (Mikihiko Nakao)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads