aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/xrpu.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
commit2cbe36f7259481bdc879887e0afc0394e15be45a (patch)
tree13a21b9677a58fef30a78bbb8d207d106092329e /sys/pci/xrpu.c
parent9402b52081f0f68b7ce0580b700b6bb14bc53e8e (diff)
Notes
Diffstat (limited to 'sys/pci/xrpu.c')
-rw-r--r--sys/pci/xrpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c
index 6603315604ec..1338c95ff785 100644
--- a/sys/pci/xrpu.c
+++ b/sys/pci/xrpu.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: xrpu.c,v 1.3 1998/10/24 19:47:42 phk Exp $
+ * $Id: xrpu.c,v 1.4 1998/11/08 12:39:06 dfr Exp $
*
* A very simple device driver for PCI cards based on Xilinx 6200 series
* FPGA/RPU devices. Current Functionality is to allow you to open and
@@ -29,7 +29,7 @@
#include <pci/pcireg.h>
#include <pci/pcivar.h>
-static char* xrpu_probe (pcici_t tag, pcidi_t type);
+static const char* xrpu_probe (pcici_t tag, pcidi_t type);
static void xrpu_attach (pcici_t tag, int unit);
static u_long xrpu_count;
@@ -225,7 +225,7 @@ static struct pci_device xrpu_device = {
DATA_SET (pcidevice_set, xrpu_device);
-static char*
+static const char*
xrpu_probe (pcici_t tag, pcidi_t typea)
{
int data = pci_conf_read(tag, PCI_CLASS_REG);