diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
| commit | 2cbe36f7259481bdc879887e0afc0394e15be45a (patch) | |
| tree | 13a21b9677a58fef30a78bbb8d207d106092329e /sys/dev/advansys/adv_pci.c | |
| parent | 9402b52081f0f68b7ce0580b700b6bb14bc53e8e (diff) | |
Notes
Diffstat (limited to 'sys/dev/advansys/adv_pci.c')
| -rw-r--r-- | sys/dev/advansys/adv_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c index 593b30579fe4..f05c164ff455 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; |
