Source-Changes archive

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

NetBSD master CVS tree commits



cgd
Mon Jun 16 22:32:49 PDT 1997
Update of /cvsroot/src/sys/dev/ic
In directory netbsd1:/var/slash-tmp/cvs-serv627

Modified Files:
        cyvar.h 
Log Message:
the port number is the low 5 bits of the minor.  That means that it should
be masked with 0x1f (the low 5 bits), rather than 0x0f (the low four bits).
Pointed out by Jarkko Torppa <torppa%cute.fi@localhost> in PR 3753.


cgd
Mon Jun 16 22:38:11 PDT 1997
Update of /cvsroot/src/sys/dev/ic
In directory netbsd1:/var/slash-tmp/cvs-serv1396

Modified Files:
        cy.c 
Log Message:
fix several bugs pointed out by Jarkko Torppa <torppa%cute.fi@localhost> in PR 
3753:
(1) fix a printf format (%x to print int, not %lx).
(2) fix probe of 4th chip/16th channel (used to tell whether or not the
    board is a 16- or 32-port board) by removing an incorrect offset so
    that the code matched its comments. (!!!)
(3) fix storage of chip number in per-channel structure so that it actually
    stores the chip number, rather than the chip offset.  This allows the
    driver to work with more than the first four channels (i.e. with chips
    other than chip number 0, which happens to have an offset of zero). (!!!)




Home | Main Index | Thread Index | Old Index