Simplify GICv3 related drivers' naming
Rename gic_v3_ instances to simply use 'gic' and 'its'. The information about the controller's revision is printed in the device announcement during boot anyway. The intention behind this change is to avoid somewhat misleading GIC instances naming such as: gic_v30 gic_v31 ... etc. Submitted by: Zbigniew Bodek <zbb@semihalf.com> Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D5016
This commit is contained in:
parent
7ea5004ba7
commit
004ae5cbbd
@ -84,7 +84,7 @@ static device_method_t gic_v3_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
DEFINE_CLASS_0(gic_v3, gic_v3_driver, gic_v3_methods,
|
||||
DEFINE_CLASS_0(gic, gic_v3_driver, gic_v3_methods,
|
||||
sizeof(struct gic_v3_softc));
|
||||
|
||||
/*
|
||||
|
@ -78,7 +78,7 @@ static device_method_t gic_v3_fdt_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
DEFINE_CLASS_1(gic_v3, gic_v3_fdt_driver, gic_v3_fdt_methods,
|
||||
DEFINE_CLASS_1(gic, gic_v3_fdt_driver, gic_v3_fdt_methods,
|
||||
sizeof(struct gic_v3_softc), gic_v3_driver);
|
||||
|
||||
static devclass_t gic_v3_fdt_devclass;
|
||||
@ -287,12 +287,12 @@ static device_method_t gic_v3_its_fdt_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
DEFINE_CLASS_1(gic_v3_its, gic_v3_its_fdt_driver, gic_v3_its_fdt_methods,
|
||||
DEFINE_CLASS_1(its, gic_v3_its_fdt_driver, gic_v3_its_fdt_methods,
|
||||
sizeof(struct gic_v3_its_softc), gic_v3_its_driver);
|
||||
|
||||
static devclass_t gic_v3_its_fdt_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(gic_v3_its, gic_v3, gic_v3_its_fdt_driver,
|
||||
EARLY_DRIVER_MODULE(its, gic, gic_v3_its_fdt_driver,
|
||||
gic_v3_its_fdt_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||
|
||||
static int
|
||||
|
@ -82,7 +82,7 @@ static device_method_t gic_v3_its_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
DEFINE_CLASS_0(gic_v3_its, gic_v3_its_driver, gic_v3_its_methods,
|
||||
DEFINE_CLASS_0(its, gic_v3_its_driver, gic_v3_its_methods,
|
||||
sizeof(struct gic_v3_its_softc));
|
||||
|
||||
MALLOC_DEFINE(M_GIC_V3_ITS, "GICv3 ITS", GIC_V3_ITS_DEVSTR);
|
||||
|
Loading…
Reference in New Issue
Block a user