aw_rsb.c (dac935533b354a9be9167013e999d128bfc8392b) | aw_rsb.c (221a9d6dd69f22ca4dd1af653e0c25244fd8e43e) |
---|---|
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 --- 458 unchanged lines hidden (view full) --- 467static driver_t rsb_driver = { 468 "iichb", 469 rsb_methods, 470 sizeof(struct rsb_softc), 471}; 472 473static devclass_t rsb_devclass; 474 | 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 --- 458 unchanged lines hidden (view full) --- 467static driver_t rsb_driver = { 468 "iichb", 469 rsb_methods, 470 sizeof(struct rsb_softc), 471}; 472 473static devclass_t rsb_devclass; 474 |
475DRIVER_MODULE(iicbus, rsb, iicbus_driver, iicbus_devclass, 0, 0); 476DRIVER_MODULE(rsb, simplebus, rsb_driver, rsb_devclass, 0, 0); | 475EARLY_DRIVER_MODULE(iicbus, rsb, iicbus_driver, iicbus_devclass, 0, 0, 476 BUS_PASS_RESOURCE + BUS_PASS_ORDER_MIDDLE); 477EARLY_DRIVER_MODULE(rsb, simplebus, rsb_driver, rsb_devclass, 0, 0, 478 BUS_PASS_RESOURCE + BUS_PASS_ORDER_MIDDLE); |
477MODULE_VERSION(rsb, 1); | 479MODULE_VERSION(rsb, 1); |