aw_reset.c (6a05f063ed52ea26ce95114acfb4129df3487cb9) | aw_reset.c (65d6a5a446be052afdf700c717cf0fa066dd895b) |
---|---|
1/*- 2 * Copyright (c) 2016 Jared McNeill <jmcneill@invisible.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 145 unchanged lines hidden (view full) --- 154static driver_t aw_reset_driver = { 155 "aw_reset", 156 aw_reset_methods, 157 sizeof(struct aw_reset_softc), 158}; 159 160static devclass_t aw_reset_devclass; 161 | 1/*- 2 * Copyright (c) 2016 Jared McNeill <jmcneill@invisible.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 145 unchanged lines hidden (view full) --- 154static driver_t aw_reset_driver = { 155 "aw_reset", 156 aw_reset_methods, 157 sizeof(struct aw_reset_softc), 158}; 159 160static devclass_t aw_reset_devclass; 161 |
162DRIVER_MODULE(aw_reset, simplebus, aw_reset_driver, aw_reset_devclass, 0, 0); | 162EARLY_DRIVER_MODULE(aw_reset, simplebus, aw_reset_driver, aw_reset_devclass, 163 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); |
163MODULE_VERSION(aw_reset, 1); | 164MODULE_VERSION(aw_reset, 1); |