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:35:55 EST 1996
Update of /a/cvsroot/src/sys/arch/sparc/dev
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv10218

Modified Files:
        xd.c 
Log Message:
 - call mapiodev() with sizeof(struct xdc) rather than ra_len (which is
        zero since xdcmatch 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 xdc->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