diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-04-16 11:56:40 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-04-16 11:56:40 +0000 |
commit | ab08be91e5dc66cfc42b85763d4caf94e2fd3d09 (patch) | |
tree | 89caace66e8787764cc54b781a8cbfd881b69458 /sys/arch/hp300/dev/scsivar.h | |
parent | 75113d46e0ad67778c0741a5bfc96d9d686f7eec (diff) |
Merge portions of NetBSD up to 970415.
This includes:
* All of the prototyping and KNF changes.
* The new interrupt system.
* Portions of the Domain Keyboard support from Mike Smith.
This does not include:
* m68k changes, namely generic dumps.
Various sundry changes and fixes by me.
Diffstat (limited to 'sys/arch/hp300/dev/scsivar.h')
-rw-r--r-- | sys/arch/hp300/dev/scsivar.h | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/sys/arch/hp300/dev/scsivar.h b/sys/arch/hp300/dev/scsivar.h index ecc618d4de3..76ca923085c 100644 --- a/sys/arch/hp300/dev/scsivar.h +++ b/sys/arch/hp300/dev/scsivar.h @@ -1,5 +1,5 @@ -/* $OpenBSD: scsivar.h,v 1.4 1997/02/03 04:47:45 downsj Exp $ */ -/* $NetBSD: scsivar.h,v 1.6 1997/01/30 09:08:56 thorpej Exp $ */ +/* $OpenBSD: scsivar.h,v 1.5 1997/04/16 11:56:15 downsj Exp $ */ +/* $NetBSD: scsivar.h,v 1.7 1997/03/31 07:40:05 scottr Exp $ */ /* * Copyright (c) 1997 Jason R. Thorpe. All rights reserved. @@ -70,18 +70,26 @@ struct oscsi_attach_args { struct scsi_inquiry *osa_inqbuf; }; -int scsi_probe_device __P((int, int, int, struct scsi_inquiry *, int)); +#ifdef _KERNEL int scsi_print __P((void *, const char *)); +void scsi_delay __P((int)); +void scsistart __P((void *)); void scsireset __P((int)); -int scsireq __P((struct device *, struct scsiqueue *)); -void scsifree __P((struct device *, struct scsiqueue *)); -int scsigo __P((int, int, int, struct buf *, struct scsi_fmt_cdb *, int)); +int scsi_test_unit_rdy __P((int, int, int)); int scsi_request_sense __P((int, int, int, u_char *, u_int)); -int scsiustart __P((int)); +int scsi_immed_command __P((int, int, int, struct scsi_fmt_cdb *, + u_char *, u_int, int)); +int scsi_tt_read __P((int, int, int, u_char *, u_int, daddr_t, int)); int scsi_tt_write __P((int, int, int, u_char *, u_int, daddr_t, int)); +int scsireq __P((struct device *, struct scsiqueue *)); +int scsiustart __P((int)); +void scsistart __P((void *)); +int scsigo __P((int, int, int, struct buf *, struct scsi_fmt_cdb *, int)); +void scsidone __P((void *)); +int scsiintr __P((void *)); +void scsifree __P((struct device *, struct scsiqueue *)); int scsi_tt_oddio __P((int, int, int, u_char *, u_int, int, int)); -int scsi_immed_command __P((int, int, int, struct scsi_fmt_cdb *, - u_char *, u_int, int)); void scsi_str __P((char *, char *, size_t)); -int scsi_test_unit_rdy __P((int, int, int)); +int scsi_probe_device __P((int, int, int, struct scsi_inquiry *, int)); +#endif |