diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
| commit | 6e551fb6285417f585c419500047004ed47c77f1 (patch) | |
| tree | b580d740769b3b201f76ad941e8b0b8ca3015bc0 /sys/dev/fb | |
| parent | 9d34414bc2a9385fb400e1ca7384bd4c4d1291cd (diff) | |
Notes
Diffstat (limited to 'sys/dev/fb')
| -rw-r--r-- | sys/dev/fb/s3_pci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c index 20c8b0a100c3a..c7a1be8506af6 100644 --- a/sys/dev/fb/s3_pci.c +++ b/sys/dev/fb/s3_pci.c @@ -471,7 +471,7 @@ s3pci_attach(device_t dev) int rid, i; if (s3pci_dev) { - printf("%s: driver already attached!\n", __FUNCTION__); + printf("%s: driver already attached!\n", __func__); goto error; } @@ -480,7 +480,7 @@ s3pci_attach(device_t dev) rid = 0; if (!(sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0ul, ~0ul, 0, RF_ACTIVE | RF_SHAREABLE))) { - printf("%s: port resource allocation failed!\n", __FUNCTION__); + printf("%s: port resource allocation failed!\n", __func__); goto error; } sc->st = rman_get_bustag(sc->port_res); @@ -490,7 +490,7 @@ s3pci_attach(device_t dev) if (!(sc->enh_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0ul, ~0ul, 0, RF_ACTIVE | RF_SHAREABLE))) { printf("%s: enhanced port resource allocation failed!\n", - __FUNCTION__); + __func__); goto error; } sc->enh_st = rman_get_bustag(sc->enh_res); @@ -500,7 +500,7 @@ s3pci_attach(device_t dev) if (!(sc->mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1, RF_ACTIVE))) { - printf("%s: mem resource allocation failed!\n", __FUNCTION__); + printf("%s: mem resource allocation failed!\n", __func__); goto error; } @@ -522,7 +522,7 @@ s3pci_attach(device_t dev) */ if ((adp == NULL) || !(adp->va_flags & V_ADP_VESA)) { printf("%s: VGA adapter not found or VESA module not loaded!\n", - __FUNCTION__); + __func__); goto error; } |
