CVS commit: src/sys/dev/ic

2010-01-15 Thread Matthew Jacob
Module Name:src
Committed By:   mjacob
Date:   Fri Jan 15 20:09:09 UTC 2010

Modified Files:
src/sys/dev/ic: isp.c

Log Message:
Amazingly, we've been freeing a handle and then using that which it referred
to for years. Bad.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/sys/dev/ic/isp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2010-01-10 Thread Matthew Jacob
Module Name:src
Committed By:   mjacob
Date:   Mon Jan 11 01:33:22 UTC 2010

Modified Files:
src/sys/dev/ic: isp_netbsd.c isp_netbsd.h

Log Message:
Keep track of what appear to be live Fibre Channel disks and store up the
Port WWNs for them as well as attaching them as a "port-wwn" property to
the device node in question. This allows MD code to find the boot device
on some platforms.

This is less clean than it should be. A better solution would be to make
some changes to the scsi infrastructure so that periphs can query and
use and store their own "native" transport addresses. However, that's
a much more invasive change and it is not clear how many ports or devices
really want or need that information (yet).


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/ic/isp_netbsd.c
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/ic/isp_netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2010-01-02 Thread Matthew Jacob
Module Name:src
Committed By:   mjacob
Date:   Sun Jan  3 02:47:10 UTC 2010

Modified Files:
src/sys/dev/ic: isp.c isp_stds.h isp_tpublic.h ispmbox.h

Log Message:
Add some more definitions appropriate for T10 standards
and use those cleaned up definitions.

Use 2100 style firmware loading if the load address and
load size is less than 64k. Some apparently buggy ROMs
out there choke otherwise.

Clean up some WWNN derivations from WWPN.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/dev/ic/isp.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/isp_stds.h
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/ic/isp_tpublic.h
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/ic/ispmbox.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.