Module Name:    src
Committed By:   skrll
Date:           Tue Feb  4 07:40:34 UTC 2020

Modified Files:
        src/sys/arch/acorn32/podulebus: if_ie.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/acorn32/podulebus/if_ie.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/acorn32/podulebus/if_ie.c
diff -u src/sys/arch/acorn32/podulebus/if_ie.c:1.45 src/sys/arch/acorn32/podulebus/if_ie.c:1.46
--- src/sys/arch/acorn32/podulebus/if_ie.c:1.45	Tue Feb  4 07:35:21 2020
+++ src/sys/arch/acorn32/podulebus/if_ie.c	Tue Feb  4 07:40:34 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ie.c,v 1.45 2020/02/04 07:35:21 skrll Exp $ */
+/* $NetBSD: if_ie.c,v 1.46 2020/02/04 07:40:34 skrll Exp $ */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.45 2020/02/04 07:35:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.46 2020/02/04 07:40:34 skrll Exp $");
 
 #define IGNORE_ETHER1_IDROM_CHECKSUM
 
@@ -206,7 +206,7 @@ ie_cli(struct ie_softc *sc)
 	WriteByte(sc->sc_fastbase + (IE_CONTROL<<2), IE_CONT_CLI);
 }
 
-/* 
+/*
  * Wake the i82586 chip up and get it to do something
  */
 
@@ -297,7 +297,7 @@ ieprobe(device_t parent, cfdata_t cf, vo
 /*
  * Attach our driver to the interfaces it uses
  */
-  
+
 void
 ieattach(device_t parent, device_t self, void *aux)
 {
@@ -429,7 +429,7 @@ ieattach(device_t parent, device_t self,
 					crc32(idrom,28), *(u_long *)(idrom+28));
             for ( i=0; i<32; i+=8 ) {
 	        printf ( "IDROM: %02x %02x %02x %02x %02x %02x %02x %02x\n",
-		    idrom[0+i], idrom[1+i], idrom[2+i], idrom[3+i], 
+		    idrom[0+i], idrom[1+i], idrom[2+i], idrom[3+i],
 		    idrom[4+i], idrom[5+i], idrom[6+i], idrom[7+i] );
 	    }
 	    printf ( "ie: I'll ignore this fact for now!\n" );
@@ -448,14 +448,14 @@ ieattach(device_t parent, device_t self,
 	ifp->if_ioctl = ieioctl;
 	ifp->if_watchdog = iewatchdog;
 	ifp->if_flags = IFF_BROADCAST;
-	
+
 	/* Signed, dated then sent */
         if_attach (ifp);
 	if_deferred_start_init(ifp, NULL);
 	ether_ifattach(ifp, hwaddr);
 
 	/* "Hmm," said nuts, "what if the attach fails" */
-    
+
 	/* Write some pretty things on the annoucement line */
 	printf ( ": %s using %dk card ram",
 	    ether_sprintf(hwaddr),
@@ -479,8 +479,8 @@ ieattach(device_t parent, device_t self,
 
 	printf("\n");
 }
-  
-                  
+
+
 /*
  * Oh no!! Where's my shorts!!! I'm sure I put them on this morning
  */
@@ -683,7 +683,7 @@ iewatchdog(struct ifnet *ifp)
 	iereset(sc);
 }
 
-/* 
+/*
  * Start the time-domain-refloctometer running
  */
 
@@ -789,7 +789,7 @@ setup_rfa(struct ie_softc *sc, u_long pt
 	    host2ie(sc, &rbd, ptr, sizeof rbd);
 	    ptr+=sizeof rbd;
 
-	    sc->cbuffs[i] = ptr;	
+	    sc->cbuffs[i] = ptr;
 	    ptr+=IE_RXBUF_SIZE;
 	}
 	rbd.ie_rbd_next = sc->rbuffs[0];
@@ -1131,7 +1131,7 @@ ieget(struct ie_softc *sc, int *to_bpf )
 		void *newdata = (void *)
 		    ALIGN(m->m_data + sizeof(struct ether_header)) -
 		    sizeof(struct ether_header);
-		len -= newdata - m->m_data; 
+		len -= newdata - m->m_data;
 		m->m_data = newdata;
 	}
 
@@ -1415,7 +1415,7 @@ iexmit(struct ie_softc *sc)
 
     struct ie_xmit_cmd xc;
     struct ie_xmit_buf xb;
-    
+
     ie2host(sc, sc->xmit_buffs[sc->xctail], (char *)&xb, sizeof xb );
     xb.ie_xmit_flags |= IE_XMIT_LAST;
     xb.ie_xmit_next = 0xffff;
@@ -1491,7 +1491,7 @@ iestart(struct ifnet *ifp)
 			len = ETHER_MIN_LEN - ETHER_CRC_LEN;
 			buffer += ETHER_MIN_LEN - ETHER_CRC_LEN;
 		}
-			
+
 		/* When we write directly to the card we dont need this */
     		if (len&1)
    		    host2ie(sc, txbuf, sc->xmit_cbuffs[sc->xchead], len+1 );
@@ -1499,7 +1499,7 @@ iestart(struct ifnet *ifp)
    		    host2ie(sc, txbuf, sc->xmit_cbuffs[sc->xchead], len );
 
 		/* sc->xmit_buffs[sc->xchead]->ie_xmit_flags = len; */
-		
+
 		WRITE_MEMBER(sc,struct ie_xmit_buf, ie_xmit_flags,
 				sc->xmit_buffs[sc->xchead], len)
 
@@ -1521,13 +1521,13 @@ ietint(struct ie_softc *sc)
 
     ifp->if_timer=0;
     ifp->if_flags &= ~IFF_OACTIVE;
- 
+
     READ_MEMBER(sc,struct ie_xmit_cmd, ie_xmit_status,
 	sc->xmit_cmds[sc->xctail], status );
 
     if (!(status&IE_STAT_COMPL) || (status & IE_STAT_BUSY) )
 	printf ( "ietint: command still busy!\n" );
-    
+
     if ( status & IE_STAT_OK ) {
 	if_statinc(ifp, if_opackets);
 	if_statadd(ifp, if_collisions, status & IE_XS_MAXCOLL);
@@ -1550,7 +1550,7 @@ ietint(struct ie_softc *sc)
     /* Done with the buffer */
     sc->xmit_free++;
     sc->xctail = (sc->xctail + 1 ) % NTXBUF;
- 
+
     /* Start the next packet transmitting, if any */
     if ( sc->xmit_free<NTXBUF )
 	iexmit(sc);

Reply via email to