ida.c (6a460811b331d9f282811578d3d85f9a7e78936e) | ida.c (c6df6f5322f7004c71216391e1c0b374d853704a) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 1999,2000 Jonathan Lemon 5 * All rights reserved. 6 * 7 # Derived from the original IDA Compaq RAID driver, which is 8 * Copyright (c) 1996, 1997, 1998, 1999 --- 320 unchanged lines hidden (view full) --- 329ida_startup(void *arg) 330{ 331 struct ida_softc *ida; 332 333 ida = arg; 334 335 config_intrhook_disestablish(&ida->ich); 336 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 1999,2000 Jonathan Lemon 5 * All rights reserved. 6 * 7 # Derived from the original IDA Compaq RAID driver, which is 8 * Copyright (c) 1996, 1997, 1998, 1999 --- 320 unchanged lines hidden (view full) --- 329ida_startup(void *arg) 330{ 331 struct ida_softc *ida; 332 333 ida = arg; 334 335 config_intrhook_disestablish(&ida->ich); 336 |
337 mtx_lock(&Giant); | 337 bus_topo_lock(); |
338 bus_generic_attach(ida->dev); | 338 bus_generic_attach(ida->dev); |
339 mtx_unlock(&Giant); | 339 bus_topo_unlock(); |
340} 341 342int 343ida_detach(device_t dev) 344{ 345 struct ida_softc *ida; 346 int error; 347 --- 494 unchanged lines hidden --- | 340} 341 342int 343ida_detach(device_t dev) 344{ 345 struct ida_softc *ida; 346 int error; 347 --- 494 unchanged lines hidden --- |