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
This commit is contained in:
parent
f5e433d72b
commit
95d6e9930c
@ -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),
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user