freebsd_network: Print the bounce buffer type in panic message.

May help with diagnosing #18885.
This commit is contained in:
Augustin Cavalier
2024-06-25 21:48:28 -04:00
parent 8e56b86bdd
commit 05404cc538
+1 -1
View File
@@ -201,7 +201,7 @@ _prepare_bounce_buffer(bus_dmamap_t map, bus_size_t reqsize, int flags)
return B_NOT_ALLOWED;
}
if (map->buffer_type != bus_dmamap::BUFFER_NONE) {
panic("bounce buffer already in use!");
panic("bounce buffer already in use! (type %d)", map->buffer_type);
return EBUSY;
}