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/dev/fxp | |
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/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 1a1c151..1908cb6 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -27,7 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_fxp.c,v 1.57 1998/10/11 06:28:54 dg Exp $ + * $Id: if_fxp.c,v 1.58 1998/10/22 02:00:49 dg Exp $ */ /* @@ -485,7 +485,7 @@ fxp_ether_ioctl(ifp, cmd, data) #else /* __FreeBSD__ */ static u_long fxp_count; -static char *fxp_probe __P((pcici_t, pcidi_t)); +static const char *fxp_probe __P((pcici_t, pcidi_t)); static void fxp_attach __P((pcici_t, int)); static void fxp_shutdown __P((int, void *)); @@ -502,7 +502,7 @@ DATA_SET(pcidevice_set, fxp_device); /* * Return identification string if this is device is ours. */ -static char * +static const char * fxp_probe(config_id, device_id) pcici_t config_id; pcidi_t device_id; |