diff options
| author | Warner Losh <imp@FreeBSD.org> | 2021-12-10 00:04:45 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2021-12-10 00:04:45 +0000 |
| commit | c6df6f5322f7004c71216391e1c0b374d853704a (patch) | |
| tree | 76dc82f3e59048e11fc12a9f5985627e8f12b24d /sys/dev/ida | |
| parent | ab639f2398bf7efd4dfd38cd6527e22f6e781ae9 (diff) | |
Diffstat (limited to 'sys/dev/ida')
| -rw-r--r-- | sys/dev/ida/ida.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c index d45395a1febf..c34d55b0d7b8 100644 --- a/sys/dev/ida/ida.c +++ b/sys/dev/ida/ida.c @@ -334,9 +334,9 @@ ida_startup(void *arg) config_intrhook_disestablish(&ida->ich); - mtx_lock(&Giant); + bus_topo_lock(); bus_generic_attach(ida->dev); - mtx_unlock(&Giant); + bus_topo_unlock(); } int |
