summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2004-11-17 20:01:43 +0000
committermarius <marius@FreeBSD.org>2004-11-17 20:01:43 +0000
commit95d6e9930c86f1c8222050af8b6f657bdbf6660e (patch)
tree4c4d405a679665bb658217d029d59f5144b2912a /sys/dev/uart
parentf5e433d72b353827585dc716ec1c9bf236d0e3ec (diff)
downloadFreeBSD-src-95d6e9930c86f1c8222050af8b6f657bdbf6660e.zip
FreeBSD-src-95d6e9930c86f1c8222050af8b6f657bdbf6660e.tar.gz
Remove the whole uart_cpu_identify() stuff again. Now that it's no longer
used on sparc64 they are only stubs on all architectures and it doesn't look like if we would need it in the near future again. Ok'ed by: marcel
Diffstat (limited to 'sys/dev/uart')
-rw-r--r--sys/dev/uart/uart_bus_isa.c2
-rw-r--r--sys/dev/uart/uart_cpu.h1
-rw-r--r--sys/dev/uart/uart_cpu_alpha.c6
-rw-r--r--sys/dev/uart/uart_cpu_amd64.c6
-rw-r--r--sys/dev/uart/uart_cpu_i386.c6
-rw-r--r--sys/dev/uart/uart_cpu_ia64.c6
-rw-r--r--sys/dev/uart/uart_cpu_pc98.c6
-rw-r--r--sys/dev/uart/uart_cpu_sparc64.c6
8 files changed, 0 insertions, 39 deletions
diff --git a/sys/dev/uart/uart_bus_isa.c b/sys/dev/uart/uart_bus_isa.c
index 82dd59a..e70c3e0 100644
--- a/sys/dev/uart/uart_bus_isa.c
+++ b/sys/dev/uart/uart_bus_isa.c
@@ -39,13 +39,11 @@ __FBSDID("$FreeBSD$");
#include <dev/uart/uart.h>
#include <dev/uart/uart_bus.h>
-#include <dev/uart/uart_cpu.h>
static int uart_isa_probe(device_t dev);
static device_method_t uart_isa_methods[] = {
/* Device interface */
- DEVMETHOD(device_identify, uart_cpu_identify),
DEVMETHOD(device_probe, uart_isa_probe),
DEVMETHOD(device_attach, uart_bus_attach),
DEVMETHOD(device_detach, uart_bus_detach),
diff --git a/sys/dev/uart/uart_cpu.h b/sys/dev/uart/uart_cpu.h
index 7862633..462eb59 100644
--- a/sys/dev/uart/uart_cpu.h
+++ b/sys/dev/uart/uart_cpu.h
@@ -75,7 +75,6 @@ int uart_cpu_getdev(int, struct uart_devinfo *);
int uart_getenv(int, struct uart_devinfo *);
void uart_add_sysdev(struct uart_devinfo *);
-void uart_cpu_identify(driver_t *, device_t);
/*
* Operations for low-level access to the UART. Primarily for use
diff --git a/sys/dev/uart/uart_cpu_alpha.c b/sys/dev/uart/uart_cpu_alpha.c
index 67b49b4..a3a132f 100644
--- a/sys/dev/uart/uart_cpu_alpha.c
+++ b/sys/dev/uart/uart_cpu_alpha.c
@@ -123,9 +123,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
return (ENXIO);
}
-
-void
-uart_cpu_identify(driver_t *driver, device_t parent)
-{
-
-}
diff --git a/sys/dev/uart/uart_cpu_amd64.c b/sys/dev/uart/uart_cpu_amd64.c
index 8a32574..c0270ae 100644
--- a/sys/dev/uart/uart_cpu_amd64.c
+++ b/sys/dev/uart/uart_cpu_amd64.c
@@ -99,9 +99,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
return (ENXIO);
}
-
-void
-uart_cpu_identify(driver_t *driver, device_t parent)
-{
-
-}
diff --git a/sys/dev/uart/uart_cpu_i386.c b/sys/dev/uart/uart_cpu_i386.c
index 7cf2fd0..93ca770 100644
--- a/sys/dev/uart/uart_cpu_i386.c
+++ b/sys/dev/uart/uart_cpu_i386.c
@@ -99,9 +99,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
return (ENXIO);
}
-
-void
-uart_cpu_identify(driver_t *driver, device_t parent)
-{
-
-}
diff --git a/sys/dev/uart/uart_cpu_ia64.c b/sys/dev/uart/uart_cpu_ia64.c
index 7046456..6c3f380 100644
--- a/sys/dev/uart/uart_cpu_ia64.c
+++ b/sys/dev/uart/uart_cpu_ia64.c
@@ -104,9 +104,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
/* Check the environment. */
return (uart_getenv(devtype, di));
}
-
-void
-uart_cpu_identify(driver_t *driver, device_t parent)
-{
-
-}
diff --git a/sys/dev/uart/uart_cpu_pc98.c b/sys/dev/uart/uart_cpu_pc98.c
index 3fc2630..ffe7957 100644
--- a/sys/dev/uart/uart_cpu_pc98.c
+++ b/sys/dev/uart/uart_cpu_pc98.c
@@ -104,9 +104,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
return (ENXIO);
}
-
-void
-uart_cpu_identify(driver_t *driver, device_t parent)
-{
-
-}
diff --git a/sys/dev/uart/uart_cpu_sparc64.c b/sys/dev/uart/uart_cpu_sparc64.c
index 7474301..0708bac 100644
--- a/sys/dev/uart/uart_cpu_sparc64.c
+++ b/sys/dev/uart/uart_cpu_sparc64.c
@@ -238,9 +238,3 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
(par == 'o') ? UART_PARITY_ODD : UART_PARITY_EVEN;
return (0);
}
-
-void
-uart_cpu_identify(driver_t *driver, device_t parent)
-{
-
-}
OpenPOWER on IntegriCloud