NetBSD-Bugs archive

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

Re: kern/43293: iavc driver does not compile under 5.0.2 anymore



The following reply was made to PR kern/43293; it has been noted by GNATS.

From: Wolfgang.Stukenbrock%nagler-company.com@localhost
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost
Cc: Wolfgang.Stukenbrock%nagler-company.com@localhost
Subject: Re: kern/43293: iavc driver does not compile under 5.0.2 anymore
Date: Wed, 12 May 2010 11:01:15 +0200

 Hi again,
 
 I've missed one required change in my patch - sorry ...
 (the first delta with recvbuf ...)
 
 W. Stukenbrock
 
 --- iavc.c      2010/05/12 08:28:01     1.1
 +++ iavc.c      2010/05/12 08:58:45
 @@ -892,7 +892,7 @@
       u_int8_t *dmabuf =3D 0, cmd;
 
       if (sc->sc_dma) {
 -       dmabuf =3D amcc_get_byte(&sc->sc_recvbuf[0], &cmd);
 +       dmabuf =3D amcc_get_byte(sc->sc_recvbuf, &cmd);
       } else {
          cmd =3D iavc_get_byte(sc);
       }
 @@ -1004,9 +1004,9 @@
          /* Copy message to DMA buffer. */
 
          if (m->m_next)
 -           dmabuf =3D amcc_put_byte(&sc->sc_sendbuf[0], SEND_DATA_B3_REQ);
 +           dmabuf =3D amcc_put_byte(sc->sc_sendbuf, SEND_DATA_B3_REQ);
          else
 -           dmabuf =3D amcc_put_byte(&sc->sc_sendbuf[0], SEND_MESSAGE);
 +           dmabuf =3D amcc_put_byte(sc->sc_sendbuf, SEND_MESSAGE);
 
          dmabuf =3D amcc_put_word(dmabuf, m->m_len);
          memcpy(dmabuf, m->m_data, m->m_len);
 @@ -1061,7 +1061,7 @@
       uint8_t *dmabuf;
 
       if (sc->sc_dma) {
 -       memcpy(&sc->sc_sendbuf[0], m->m_data + 2, m->m_len - 2);
 +       memcpy(sc->sc_sendbuf, m->m_data + 2, m->m_len - 2);
          txlen =3D m->m_len - 2;
       } else {
 
 
 Zitat von gnats-admin%NetBSD.org@localhost:
 
 > Thank you very much for your problem report.
 > It has the internal identification `kern/43293'.
 > The individual assigned to look at your
 > report is: kern-bug-people.
 >
 >> Category:       kern
 >> Responsible:    kern-bug-people
 >> Synopsis:       iavc driver does not compile under 5.0.2 anymore
 >> Arrival-Date:   Wed May 12 08:40:00 +0000 2010
 >
 >
 
 


Home | Main Index | Thread Index | Old Index