Messages in this thread Patch in this message | | | Date | Wed, 9 Dec 1998 15:46:00 -0300 | From | Horacio J. Peña <> | Subject | Little 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/
| |