DragonFly commits List (threaded) for 2008-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/dev/disk/trm trm.c trm.h
pavalos 2008/01/05 14:24:08 PST
DragonFly src repository
Modified files:
sys/dev/disk/trm trm.c trm.h
Log:
Sync with FreeBSD:
CAM_NEW_TRAN_CODE fixes.
Remove unneeded includes and add missing ones.
Use BUS_PROBE_DEFAULT in preference to 0.
Call trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some
people reported in FreeBSD.
Use bus_alloc_resource_any(9).
Use one bus_dma_tag_t for all pSRB instead of creating one for each.
Free what is allocated for pSRBs at unload time or if something bad happens.
Do not test if pDCB is not NULL, we dereference it before anyway, and it
should not happen. Add a KASSERT instead.
Mark trm as depending on cam.
Use PCIR_BAR(x) instead of PCIR_MAPS.
Remove two useless bzero() calls.
Use cam_calc_geometry.
Indentation/style fixes.
Add support for Tekram DC395U2W cards.
Obtained-from: FreeBSD
Revision Changes Path
1.16 +708 -358 src/sys/dev/disk/trm/trm.c
1.3 +71 -63 src/sys/dev/disk/trm/trm.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/trm/trm.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/trm/trm.h.diff?r1=1.2&r2=1.3&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]