summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ed_p.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
commit5e557fc6bd95db1b1db3232e918d1477b60ea15d (patch)
tree0b23397a63155d259042171997a0d2a53e18851d /sys/pci/if_ed_p.c
parent6d407291a85c950fa545a5200d6a66fb4748d70c (diff)
downloadFreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.zip
FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.tar.gz
pci_device pd_probe function changed from returning char * to returning
const char *. Originally I was going to add casts from const char * to char * in some of the pci device drivers, but the reality is that the pci device probes return constant quoted strings.
Diffstat (limited to 'sys/pci/if_ed_p.c')
-rw-r--r--sys/pci/if_ed_p.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_ed_p.c b/sys/pci/if_ed_p.c
index d284ee6..e14a96c 100644
--- a/sys/pci/if_ed_p.c
+++ b/sys/pci/if_ed_p.c
@@ -17,7 +17,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: if_ed_p.c,v 1.12 1998/02/27 22:29:36 se Exp $
+ * $Id: if_ed_p.c,v 1.13 1998/03/17 10:54:23 danny Exp $
*/
#include "pci.h"
@@ -51,7 +51,7 @@ static struct _pcsid
extern void *ed_attach_NE2000_pci __P((int, int));
-static char* ed_pci_probe __P((pcici_t tag, pcidi_t type));
+static const char* ed_pci_probe __P((pcici_t tag, pcidi_t type));
static void ed_pci_attach __P((pcici_t config_id, int unit));
static u_long ed_pci_count = NED;
@@ -66,7 +66,7 @@ static struct pci_device ed_pci_driver = {
DATA_SET (pcidevice_set, ed_pci_driver);
-static char*
+static const char*
ed_pci_probe (pcici_t tag, pcidi_t type)
{
struct _pcsid *ep =pci_ids;
OpenPOWER on IntegriCloud