summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-07-11 17:02:07 +0000
committerkato <kato@FreeBSD.org>1998-07-11 17:02:07 +0000
commit173c8412459f6a94867bcb20cb86311a5730d5fa (patch)
treef288427041541b8b52eae77f4953e5e1c5e31912 /sys/pc98/cbus
parent296edf15be443dfc6db9371ccecb9d83a699ecea (diff)
downloadFreeBSD-src-173c8412459f6a94867bcb20cb86311a5730d5fa.zip
FreeBSD-src-173c8412459f6a94867bcb20cb86311a5730d5fa.tar.gz
Sync with sys/i386/isa/fd.c revision 1.116.
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r--sys/pc98/cbus/fdc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 1e28658..5fed486 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.32 1998/06/08 08:55:43 kato Exp $
+ * $Id: fd.c,v 1.33 1998/07/06 10:09:37 kato Exp $
*
*/
@@ -615,7 +615,7 @@ fd_read_status(fdc_p fdc, int fdsu)
{
/*
* XXX types are poorly chosen. Only bytes can by read
- * from the hardware, but fdc_status wants u_longs and
+ * from the hardware, but fdc->status[] wants u_ints and
* fd_in() gives ints.
*/
int status;
@@ -2294,7 +2294,7 @@ fdstate(fdcu_t fdcu, fdc_p fdc)
default:
printf("fdc%d: Unexpected FD int->", fdcu);
if (fd_read_status(fdc, fd->fdsu) == 0)
- printf("FDC status :%lx %lx %lx %lx %lx %lx %lx ",
+ printf("FDC status :%x %x %x %x %x %x %x ",
fdc->status[0],
fdc->status[1],
fdc->status[2],
@@ -2372,7 +2372,7 @@ retrier(fdcu)
if (fdc->flags & FDC_STAT_VALID)
{
printf(
- " (ST0 %b ST1 %b ST2 %b cyl %ld hd %ld sec %ld)\n",
+ " (ST0 %b ST1 %b ST2 %b cyl %u hd %u sec %u)\n",
fdc->status[0], NE7_ST0BITS,
fdc->status[1], NE7_ST1BITS,
fdc->status[2], NE7_ST2BITS,
OpenPOWER on IntegriCloud