Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/ic




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/dev/ic

From: "Manuel Bouyer" <bouyer%netbsd.org@localhost>

Date: Tue, 21 Aug 2012 15:53:07 +0000


Module Name:    src
Committed By:   bouyer
Date:           Tue Aug 21 15:53:07 UTC 2012

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

Log Message:
Properly fill the struct timeval before using it: a timeout in microseconds has
to be converted to seconds and microseconds.
Fix KASSERT("usec >= 0 && usec < 1000000") in tvtohz().
While there, simplify computation of to (avoids a timersub() in tvhzto()
and directly call tvtohz() with the interval).


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/ic/isp_netbsd.c

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






Prev by Date: CVS commit: src/sys/dev/scsipi

Next by Date: CVS commit: src/usr.sbin/npf/npftest

Previous by Thread: CVS commit: src/sys/dev/scsipi

Next by Thread: CVS commit: src/usr.sbin/npf/npftest

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index