diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-14 05:47:29 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-14 05:47:29 +0000 |
commit | 5e557fc6bd95db1b1db3232e918d1477b60ea15d (patch) | |
tree | 0b23397a63155d259042171997a0d2a53e18851d /sys/pci/ncr.c | |
parent | 6d407291a85c950fa545a5200d6a66fb4748d70c (diff) | |
download | FreeBSD-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/ncr.c')
-rw-r--r-- | sys/pci/ncr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index f6a3a39..85e2d7d 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: ncr.c,v 1.138 1998/12/04 22:54:55 archie Exp $ +** $Id: ncr.c,v 1.139 1998/12/07 21:58:47 archie Exp $ ** ** Device driver for the NCR 53C8XX PCI-SCSI-Controller Family. ** @@ -1340,7 +1340,7 @@ static void ncr_action (struct cam_sim *sim, union ccb *ccb); static void ncr_timeout (void *arg); static void ncr_wakeup (ncb_p np, u_long code); -static char* ncr_probe (pcici_t tag, pcidi_t type); +static const char* ncr_probe (pcici_t tag, pcidi_t type); static void ncr_attach (pcici_t tag, int unit); #endif /* KERNEL */ @@ -1357,7 +1357,7 @@ static void ncr_attach (pcici_t tag, int unit); #if !defined(lint) static const char ident[] = - "\n$Id: ncr.c,v 1.138 1998/12/04 22:54:55 archie Exp $\n"; + "\n$Id: ncr.c,v 1.139 1998/12/07 21:58:47 archie Exp $\n"; #endif static const u_long ncr_version = NCR_VERSION * 11 @@ -3357,7 +3357,7 @@ static int ncr_chip_lookup(u_long device_id, u_char revision_id) -static char* ncr_probe (pcici_t tag, pcidi_t type) +static const char* ncr_probe (pcici_t tag, pcidi_t type) { u_char rev = pci_conf_read (tag, PCI_CLASS_REG) & 0xff; int i; |