lkml.org 
[lkml]   [1998]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectLittle bugfix for PCI Digiboards
¡Hola!

I've found a little bug in the PCI Digibard's detection. Patch follows...

--
HoraPe

-------
Horacio J. Peña
horape@compendium.com.ar
bofh@puntoar.net.ar

--- epca.c.orig Sat Oct 31 16:05:53 1998
+++ epca.c Wed Dec 9 15:42:11 1998
@@ -286,7 +286,8 @@

#ifdef ENABLE_PCI
static int init_PCI(int);
-static int get_PCI_configuration(char, char, unsigned int *, unsigned int *,
+static int get_PCI_configuration(unsigned char, unsigned char,
+ unsigned int *, unsigned int *,
unsigned int *, unsigned int *,
unsigned int *, unsigned int *);
#endif /* ENABLE_PCI */
@@ -4037,7 +4038,7 @@
#ifdef ENABLE_PCI
/* --------------------- Begin get_PCI_configuration ---------------------- */

-int get_PCI_configuration(char bus, char device_fn,
+int get_PCI_configuration(unsigned char bus, unsigned char device_fn,
unsigned int *base_addr0, unsigned int *base_addr1,
unsigned int *base_addr2, unsigned int *base_addr3,
unsigned int *base_addr4, unsigned int *base_addr5)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.034 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site