Date: Mon, 16 Dec 2002 05:38:22 -0800 (PST) From: Olivier Houchard <cognet@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/trm trm.c trm.h Message-ID: <200212161338.gBGDcMIi022863@repoman.freebsd.org>
index | next in thread | raw e-mail
cognet 2002/12/16 05:38:22 PST
Modified files:
sys/dev/trm trm.c trm.h
Log:
Fix the panic that occurs when kldunloading trm by using the correct
prototype for trm_detach and freeing all resources.
While I'm there, handle better errors in trm_attach and remove the
PCI_BASE_ADDR0 definition, since it's what PCIR_MAPS is used for.
MFC after: 3 days
Revision Changes Path
1.3 +48 -29 src/sys/dev/trm/trm.c
1.2 +3 -0 src/sys/dev/trm/trm.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212161338.gBGDcMIi022863>
