summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
commitc86f0c7a71e7ade3e38b325c186a9cf374e0411e (patch)
tree176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/i386/eisa
parent423ba8f9bc23d93bfc244aca9b12563b1c9de90d (diff)
downloadFreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.zip
FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r--sys/i386/eisa/aha1742.c28
-rw-r--r--sys/i386/eisa/aic7770.c24
-rw-r--r--sys/i386/eisa/eisaconf.c4
-rw-r--r--sys/i386/eisa/eisaconf.h4
4 files changed, 30 insertions, 30 deletions
diff --git a/sys/i386/eisa/aha1742.c b/sys/i386/eisa/aha1742.c
index 0d31e01..727b9a4 100644
--- a/sys/i386/eisa/aha1742.c
+++ b/sys/i386/eisa/aha1742.c
@@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aha1742.c,v 1.32 1995/05/09 12:25:50 rgrimes Exp $
+ * $Id: aha1742.c,v 1.33 1995/05/11 19:26:15 rgrimes Exp $
*/
#include <sys/types.h>
@@ -561,7 +561,7 @@ ahb_attach(dev)
* Return some information to the caller about
* the adapter and it's capabilities
*/
-u_int32
+u_int32
ahb_adapter_info(unit)
int unit;
{
@@ -590,7 +590,7 @@ ahbintr(unit)
while (inb(port + G2STAT) & G2STAT_INT_PEND) {
/*
- * First get all the information and then
+ * First get all the information and then
* acknowlege the interrupt
*/
ahbstat = inb(port + G2INTST);
@@ -712,7 +712,7 @@ ahb_done(unit, ecb, state)
printf("unexpected ha_status: %x\n",
stat->ha_status);
}
-#endif /*AHBDEBUG */
+#endif /*AHBDEBUG */
}
} else {
switch (stat->targ_status) {
@@ -741,7 +741,7 @@ done: xs->flags |= ITSDONE;
}
/*
- * A ecb (and hence a mbx-out is put onto the
+ * A ecb (and hence a mbx-out is put onto the
* free list.
*/
void
@@ -770,7 +770,7 @@ ahb_free_ecb(unit, ecb, flags)
}
/*
- * Get a free ecb
+ * Get a free ecb
* If there are none, see if we can allocate a
* new one. If so, put it in the hash table too
* otherwise either return an error or sleep
@@ -863,7 +863,7 @@ ahb_init(unit)
#define NO_NO 1
#ifdef NO_NO
/*
- * reset board, If it doesn't respond, assume
+ * reset board, If it doesn't respond, assume
* that it's not there.. good for the probe
*/
outb(port + EBCTRL, CDEN); /* enable full card */
@@ -944,7 +944,7 @@ ahb_init(unit)
#ifndef min
#define min(x,y) (x < y ? x : y)
-#endif /* min */
+#endif /* min */
void
ahbminphys(bp)
@@ -960,7 +960,7 @@ ahbminphys(bp)
* the data address. Also needs the unit, target
* and lu
*/
-int32
+int32
ahb_scsi_cmd(xs)
struct scsi_xfer *xs;
{
@@ -1001,7 +1001,7 @@ ahb_scsi_cmd(xs)
/*
* If it's a reset, we need to do an 'immediate'
* command, and store it's ecb for later
- * if there is already an immediate waiting,
+ * if there is already an immediate waiting,
* then WE must wait
*/
if (flags & SCSI_RESET) {
@@ -1091,8 +1091,8 @@ ahb_scsi_cmd(xs)
nextphys = thisphys;
while ((datalen) && (thisphys == nextphys)) {
/*
- * This page is contiguous (physically) with
- * the the last, just extend the length
+ * This page is contiguous (physically) with
+ * the the last, just extend the length
*/
/* how far to the end of the page */
nextphys = (thisphys & (~(PAGESIZ - 1)))
@@ -1111,7 +1111,7 @@ ahb_scsi_cmd(xs)
thisphys = KVTOPHYS(thiskv);
}
/*
- * next page isn't contiguous, finish the seg
+ * next page isn't contiguous, finish the seg
*/
SC_DEBUGN(xs->sc_link, SDEV_DB4,
("(0x%x)", bytes_this_seg));
@@ -1194,7 +1194,7 @@ ahb_timeout(void *arg1)
#endif /*AHBDEBUG */
/*
- * If it's immediate, don't try abort it
+ * If it's immediate, don't try abort it
*/
if (ecb->flags & ECB_IMMED) {
ecb->xs->retries = 0; /* I MEAN IT ! */
diff --git a/sys/i386/eisa/aic7770.c b/sys/i386/eisa/aic7770.c
index 2cfb904..ce4f948 100644
--- a/sys/i386/eisa/aic7770.c
+++ b/sys/i386/eisa/aic7770.c
@@ -19,7 +19,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: aic7770.c,v 1.12 1995/03/31 13:36:57 gibbs Exp $
+ * $Id: aic7770.c,v 1.13 1995/04/12 20:47:36 wollman Exp $
*/
#include <sys/param.h>
@@ -32,16 +32,16 @@
#include <machine/cpufunc.h>
#include <i386/scsi/aic7xxx.h>
-int aic7770probe __P((struct isa_device *dev));
+int aic7770probe __P((struct isa_device *dev));
int aic7770_attach __P((struct isa_device *dev));
-/*
+/*
* Standard EISA Host ID regs (Offset from slot base)
*/
#define HID0 0xC80 /* 0,1: msb of ID2, 2-7: ID1 */
-#define HID1 0xC81 /* 0-4: ID3, 5-7: LSB ID2 */
-#define HID2 0xC82 /* product */
+#define HID1 0xC81 /* 0-4: ID3, 5-7: LSB ID2 */
+#define HID2 0xC82 /* product */
#define HID3 0xC83 /* firmware revision */
#define CHAR1(B1,B2) (((B1>>2) & 0x1F) | '@')
@@ -78,11 +78,11 @@ aic7770_registerdev(struct isa_device *id)
kdc_aic7770[id->id_unit].kdc_unit = id->id_unit;
kdc_aic7770[id->id_unit].kdc_parentdata = id;
dev_attach(&kdc_aic7770[id->id_unit]);
-}
+}
int
aic7770probe(struct isa_device *dev)
-{
+{
u_long port;
int i;
u_char sig_id[4];
@@ -101,7 +101,7 @@ aic7770probe(struct isa_device *dev)
port = 0x1000 * ahc_slot;
for( i = 0; i < sizeof(sig_id); i++ )
{
- /*
+ /*
* An outb is required to prime these registers on
* VL cards
*/
@@ -124,13 +124,13 @@ aic7770probe(struct isa_device *dev)
#ifndef DEV_LKM
aic7770_registerdev(dev);
#endif /* DEV_LKM */
- if(ahcprobe(unit, port,
- valid_ids[i].type)){
+ if(ahcprobe(unit, port,
+ valid_ids[i].type)){
/*
- * If it's there, put in it's
+ * If it's there, put in it's
* interrupt vectors
*/
- dev->id_irq = (1 <<
+ dev->id_irq = (1 <<
ahcdata[unit]->vect);
dev->id_drq = -1; /* EISA dma */
ahc_unit++;
diff --git a/sys/i386/eisa/eisaconf.c b/sys/i386/eisa/eisaconf.c
index 2aad5d2..ca6baf3 100644
--- a/sys/i386/eisa/eisaconf.c
+++ b/sys/i386/eisa/eisaconf.c
@@ -13,7 +13,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: eisaconf.c,v 1.1 1995/03/13 09:10:17 root Exp root $
+ * $Id: eisaconf.c,v 1.1 1995/04/23 08:55:41 julian Exp $
*/
/*
@@ -61,7 +61,7 @@ eisa_configure()
if (productID & 0x80) {
printf("Warning: running EISA kernel on non-EISA system board\n");
return;
- }
+ }
printf("Probing for devices on EISA bus\n");
productID = (productID<<8) | inb(eisaBase+1);
productRevision = inb(eisaBase+2);
diff --git a/sys/i386/eisa/eisaconf.h b/sys/i386/eisa/eisaconf.h
index b0a0cbb..9b16c23 100644
--- a/sys/i386/eisa/eisaconf.h
+++ b/sys/i386/eisa/eisaconf.h
@@ -13,14 +13,14 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: eisaconf.h,v 1.1 1995/03/13 09:10:17 root Exp root $
+ * $Id: eisaconf.h,v 1.1 1995/04/23 08:55:42 julian Exp $
*/
/*
* Ported to run under FreeBSD by Julian Elischer (julian@tfs.com) Sept 1992
*/
-#define EISA_SLOTS 10 /* PCI clashes with higher ones.. fix later */
+#define EISA_SLOTS 10 /* PCI clashes with higher ones.. fix later */
struct eisa_dev {
char productID[4];
unsigned short productType;
OpenPOWER on IntegriCloud