Source-Changes archive

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

NetBSD master CVS tree commits



chuck
Fri Jan 12 22:42:42 EST 1996
Update of /a/cvsroot/src/sys/arch/sparc/dev
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv10307

Modified Files:
        xy.c 
Log Message:
 - call mapiodev() with sizeof(struct xyc) rather than ra_len (which is
        zero since xycmatch no longer sets it).   [if you call mapiodev()
        with a zero size it will reuse the KVA it returns, swiping the device
        out from under you!]
 - make xyc->iopbase point in the kernels DVMA space rather than at the
        normal malloc'd KVA.   this isn't compatable with sun4m [doesn't
        have a kernel DVMA space] and will need to be changed later (XXX).
 - move disk_attach() to before reading the disk label as per Jason.
        otherwise we are reading into an unallocated buffer (oops!)




Home | Main Index | Thread Index | Old Index