Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

atppc (ppbus) patches for gcc48



For anyone wanting to mess with ppbus, the atppc driver requires the
following to make gcc48 happy (set but not used):


+Index: sys/dev/ic/atppc.c
+===================================================================
+RCS file: /cvsroot/src/sys/dev/ic/atppc.c,v
+retrieving revision 1.30
+diff -u -b -r1.30 atppc.c
+--- sys/dev/ic/atppc.c 26 May 2011 02:37:25 -0000      1.30
++++ sys/dev/ic/atppc.c 12 Mar 2014 18:28:41 -0000
+@@ -1962,7 +1962,6 @@
+ static void
+ atppc_std_write(struct atppc_softc * const atppc)
+ {
+-      unsigned int timecount;
+       unsigned char ctr;
+ 
+       ctr = atppc_r_ctr(atppc);
+@@ -1997,7 +1996,6 @@
+               atppc_barrier_w(atppc);
+ 
+               /* Wait for nACK for MAXBUSYWAIT */
+-              timecount = 0;
+               if (atppc->sc_use & ATPPC_USE_INTR) {
+                       atppc->sc_outerr = atppc_wait_interrupt(atppc,
+                               &atppc->sc_out_cv, ATPPC_IRQ_nACK);

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index