Remove unused uart_devclass.
This commit is contained in:
@@ -248,5 +248,4 @@ static driver_t tegra_uart_driver = {
|
|||||||
sizeof(struct tegra_softc),
|
sizeof(struct tegra_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
DRIVER_MODULE(tegra_uart, simplebus, tegra_uart_driver, uart_devclass,
|
DRIVER_MODULE(tegra_uart, simplebus, tegra_uart_driver, 0, 0);
|
||||||
0, 0);
|
|
||||||
|
|||||||
@@ -137,7 +137,6 @@ struct uart_softc {
|
|||||||
} sc_u;
|
} sc_u;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern devclass_t uart_devclass;
|
|
||||||
extern const char uart_driver_name[];
|
extern const char uart_driver_name[];
|
||||||
|
|
||||||
int uart_bus_attach(device_t dev);
|
int uart_bus_attach(device_t dev);
|
||||||
|
|||||||
@@ -98,4 +98,4 @@ uart_acpi_probe(device_t dev)
|
|||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
}
|
}
|
||||||
|
|
||||||
DRIVER_MODULE(uart, acpi, uart_acpi_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart, acpi, uart_acpi_driver, 0, 0);
|
||||||
|
|||||||
@@ -293,5 +293,5 @@ uart_fdt_probe(device_t dev)
|
|||||||
return (uart_bus_probe(dev, (int)shift, (int)iowidth, (int)clock, 0, 0, 0));
|
return (uart_bus_probe(dev, (int)shift, (int)iowidth, (int)clock, 0, 0, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
DRIVER_MODULE(uart, simplebus, uart_fdt_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart, simplebus, uart_fdt_driver, 0, 0);
|
||||||
DRIVER_MODULE(uart, ofwbus, uart_fdt_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart, ofwbus, uart_fdt_driver, 0, 0);
|
||||||
|
|||||||
@@ -170,5 +170,5 @@ uart_isa_probe(device_t dev)
|
|||||||
return (uart_bus_probe(dev, 0, 0, 0, 0, 0, 0));
|
return (uart_bus_probe(dev, 0, 0, 0, 0, 0, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
DRIVER_MODULE(uart, isa, uart_isa_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart, isa, uart_isa_driver, 0, 0);
|
||||||
ISA_PNP_INFO(isa_ns8250_ids);
|
ISA_PNP_INFO(isa_ns8250_ids);
|
||||||
|
|||||||
@@ -347,4 +347,4 @@ uart_pci_detach(device_t dev)
|
|||||||
return (uart_bus_detach(dev));
|
return (uart_bus_detach(dev));
|
||||||
}
|
}
|
||||||
|
|
||||||
DRIVER_MODULE(uart, pci, uart_pci_driver, uart_devclass, NULL, NULL);
|
DRIVER_MODULE(uart, pci, uart_pci_driver, NULL, NULL);
|
||||||
|
|||||||
@@ -86,4 +86,4 @@ uart_puc_probe(device_t dev)
|
|||||||
return (uart_bus_probe(dev, 0, 0, rclk, 0, 0, 0));
|
return (uart_bus_probe(dev, 0, 0, rclk, 0, 0, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
DRIVER_MODULE(uart, puc, uart_puc_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart, puc, uart_puc_driver, 0, 0);
|
||||||
|
|||||||
@@ -114,4 +114,4 @@ uart_scc_probe(device_t dev)
|
|||||||
return (uart_bus_probe(dev, rs, 0, cl, 0, ch, 0));
|
return (uart_bus_probe(dev, rs, 0, cl, 0, ch, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
DRIVER_MODULE(uart, scc, uart_scc_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart, scc, uart_scc_driver, 0, 0);
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include "uart_if.h"
|
#include "uart_if.h"
|
||||||
|
|
||||||
devclass_t uart_devclass;
|
|
||||||
const char uart_driver_name[] = "uart";
|
const char uart_driver_name[] = "uart";
|
||||||
|
|
||||||
SLIST_HEAD(uart_devinfo_list, uart_devinfo) uart_sysdevs =
|
SLIST_HEAD(uart_devinfo_list, uart_devinfo) uart_sysdevs =
|
||||||
|
|||||||
@@ -287,4 +287,4 @@ static driver_t snps_uart_driver = {
|
|||||||
sizeof(struct snps_softc)
|
sizeof(struct snps_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
DRIVER_MODULE(uart_snps, simplebus, snps_uart_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart_snps, simplebus, snps_uart_driver, 0, 0);
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ static driver_t uart_opal_driver = {
|
|||||||
sizeof(struct uart_opal_softc),
|
sizeof(struct uart_opal_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
DRIVER_MODULE(uart_opal, opalcons, uart_opal_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart_opal, opalcons, uart_opal_driver, 0, 0);
|
||||||
|
|
||||||
static int uart_opal_getc(struct uart_opal_softc *sc);
|
static int uart_opal_getc(struct uart_opal_softc *sc);
|
||||||
static cn_probe_t uart_opal_cnprobe;
|
static cn_probe_t uart_opal_cnprobe;
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ static driver_t uart_phyp_driver = {
|
|||||||
sizeof(struct uart_phyp_softc),
|
sizeof(struct uart_phyp_softc),
|
||||||
};
|
};
|
||||||
|
|
||||||
DRIVER_MODULE(uart_phyp, vdevice, uart_phyp_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart_phyp, vdevice, uart_phyp_driver, 0, 0);
|
||||||
|
|
||||||
static cn_probe_t uart_phyp_cnprobe;
|
static cn_probe_t uart_phyp_cnprobe;
|
||||||
static cn_init_t uart_phyp_cninit;
|
static cn_init_t uart_phyp_cninit;
|
||||||
|
|||||||
@@ -84,4 +84,4 @@ uart_iobus_probe(device_t dev)
|
|||||||
return (uart_bus_probe(dev, 0, 0, 0, 0, 0, 0));
|
return (uart_bus_probe(dev, 0, 0, 0, 0, 0, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
DRIVER_MODULE(uart, iobus, uart_iobus_driver, uart_devclass, 0, 0);
|
DRIVER_MODULE(uart, iobus, uart_iobus_driver, 0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user