summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
commit1b46557c21ab146b0e43c06a8e1e922202afd373 (patch)
tree1ec35db1a5a1d4721c6893b6be4dff54402005ea /sys/dev/advansys
parent2d9e52659ce15a8f818a51abfda4613167fdc974 (diff)
downloadFreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.zip
FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.tar.gz
probe function changed from returning char * to const char *.
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r--sys/dev/advansys/adv_pci.c6
-rw-r--r--sys/dev/advansys/adw_pci.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c
index 593b305..f05c164 100644
--- a/sys/dev/advansys/adv_pci.c
+++ b/sys/dev/advansys/adv_pci.c
@@ -47,7 +47,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: adv_pci.c,v 1.1 1998/09/15 07:03:43 gibbs Exp $
+ * $Id: adv_pci.c,v 1.2 1998/12/07 21:58:45 archie Exp $
*/
#include <pci.h>
@@ -76,7 +76,7 @@
#define ADV_PCI_MAX_DMA_ADDR (0xFFFFFFFFL)
#define ADV_PCI_MAX_DMA_COUNT (0xFFFFFFFFL)
-static char* advpciprobe(pcici_t tag, pcidi_t type);
+static const char* advpciprobe(pcici_t tag, pcidi_t type);
static void advpciattach(pcici_t config_id, int unit);
/*
@@ -97,7 +97,7 @@ static struct pci_device adv_pci_driver = {
DATA_SET (pcidevice_set, adv_pci_driver);
-static char*
+static const char*
advpciprobe(pcici_t tag, pcidi_t type)
{
int rev = pci_conf_read(tag, PCI_CLASS_REG) & 0xff;
diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c
index eb941bf..b65037b 100644
--- a/sys/dev/advansys/adw_pci.c
+++ b/sys/dev/advansys/adw_pci.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: adw_pci.c,v 1.1 1998/10/07 03:20:49 gibbs Exp $
+ * $Id: adw_pci.c,v 1.2 1998/12/07 21:58:45 archie Exp $
*/
#include <pci.h>
@@ -58,7 +58,7 @@
#define ADW_PCI_MAX_DMA_ADDR (0xFFFFFFFFUL)
#define ADW_PCI_MAX_DMA_COUNT (0xFFFFFFFFUL)
-static char* adwpciprobe(pcici_t tag, pcidi_t type);
+static const char* adwpciprobe(pcici_t tag, pcidi_t type);
static void adwpciattach(pcici_t config_id, int unit);
static struct pci_device adw_pci_driver = {
@@ -71,7 +71,7 @@ static struct pci_device adw_pci_driver = {
DATA_SET (pcidevice_set, adw_pci_driver);
-static char*
+static const char*
adwpciprobe(pcici_t tag, pcidi_t type)
{
switch (type) {
OpenPOWER on IntegriCloud