summaryrefslogtreecommitdiff
path: root/sys/dev/trm
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2003-01-21 08:56:16 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2003-01-21 08:56:16 +0000
commit44956c9863dc03344b03bdf6a83acf4e743f8e50 (patch)
treef16a2fb9fa7a7fbc4c19e981d278d5f6eb53234d /sys/dev/trm
parent1326e03f7f8018164ece91fc0a3f15f9c65ff64a (diff)
Notes
Diffstat (limited to 'sys/dev/trm')
-rw-r--r--sys/dev/trm/trm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/trm/trm.c b/sys/dev/trm/trm.c
index e157cb1141ea..839112353cea 100644
--- a/sys/dev/trm/trm.c
+++ b/sys/dev/trm/trm.c
@@ -2887,7 +2887,7 @@ trm_initACB(PACB pACB, u_int16_t unit)
for (j = 0; j < (pACB->max_lun +1); j++) {
pACB->scan_devices[i][j] = 1;
pACB->pDCB[i][j]= (PDCB) malloc (
- sizeof (struct _DCB), M_DEVBUF, M_WAITOK);
+ sizeof (struct _DCB), M_DEVBUF, 0);
trm_initDCB(pACB,
pACB->pDCB[i][j], unit, i, j);
TRM_DPRINTF("pDCB= %8x \n",
@@ -3292,7 +3292,7 @@ trm_attach(device_t pci_config_id)
* of the multi-channel controller.
* trm_action : sim_action_func
* trm_poll : sim_poll_func
- * "trm" : sim_name ,if sim_name = "xpt" ..M_DEVBUF,M_WAITOK
+ * "trm" : sim_name ,if sim_name = "xpt" ..M_DEVBUF,0
* pACB : *softc if sim_name <> "xpt" ..M_DEVBUF,M_NOWAIT
* pACB->unit : unit
* 1 : max_dev_transactions