aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2017-01-15 17:54:01 +0000
committerConrad Meyer <cem@FreeBSD.org>2017-01-15 17:54:01 +0000
commitdb4fcadf52c891afffded7fc72b9d9298bc39e77 (patch)
tree0008fa14a230c4de259da7601d6669c249e16b5a /sys/sys/bus.h
parent953f538e0ee4699685bef4ce255a5dd94de56a2c (diff)
downloadsrc-db4fcadf52c891afffded7fc72b9d9298bc39e77.tar.gz
src-db4fcadf52c891afffded7fc72b9d9298bc39e77.zip
"Buses" is the preferred plural of "bus"
Replace archaic "busses" with modern form "buses." Intentionally excluded: * Old/random drivers I didn't recognize * Old hardware in general * Use of "busses" in code as identifiers No functional change. http://grammarist.com/spelling/buses-busses/ PR: 216099 Reported by: bltsrc at mail.ru Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=312234
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 9139edab4a96..9e7f0ad5bf09 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -392,14 +392,14 @@ int resource_list_print_type(struct resource_list *rl,
const char *format);
/*
- * The root bus, to which all top-level busses are attached.
+ * The root bus, to which all top-level buses are attached.
*/
extern device_t root_bus;
extern devclass_t root_devclass;
void root_bus_configure(void);
/*
- * Useful functions for implementing busses.
+ * Useful functions for implementing buses.
*/
int bus_generic_activate_resource(device_t dev, device_t child, int type,
@@ -675,7 +675,7 @@ void bus_data_generation_update(void);
* supports the newer ones would return BUS_PROBE_DEFAULT. BUS_PROBE_GENERIC
* is for drivers that wish to have a generic form and a specialized form,
* like is done with the pci bus and the acpi pci bus. BUS_PROBE_HOOVER is
- * for those busses that implement a generic device place-holder for devices on
+ * for those buses that implement a generic device place-holder for devices on
* the bus that have no more specific driver for them (aka ugen).
* BUS_PROBE_NOWILDCARD or lower means that the device isn't really bidding
* for a device node, but accepts only devices that its parent has told it
@@ -699,7 +699,7 @@ void bus_data_generation_update(void);
* probed in earlier passes.
*/
#define BUS_PASS_ROOT 0 /* Used to attach root0. */
-#define BUS_PASS_BUS 10 /* Busses and bridges. */
+#define BUS_PASS_BUS 10 /* Buses and bridges. */
#define BUS_PASS_CPU 20 /* CPU devices. */
#define BUS_PASS_RESOURCE 30 /* Resource discovery. */
#define BUS_PASS_INTERRUPT 40 /* Interrupt controllers. */
@@ -734,7 +734,7 @@ struct module;
int driver_module_handler(struct module *, int, void *);
/**
- * Module support for automatically adding drivers to busses.
+ * Module support for automatically adding drivers to buses.
*/
struct driver_module_data {
int (*dmd_chainevh)(struct module *, int, void *);