ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/Linux/ether_linux.cpp
(Generate patch)

Comparing SheepShaver/src/Unix/Linux/ether_linux.cpp (file contents):
Revision 1.3 by gbeauche, 2004-05-09T17:44:18Z vs.
Revision 1.4 by gbeauche, 2004-05-10T12:05:44Z

# Line 453 | Line 453 | void EtherIRQ(void)
453                          num_rx_packets++;
454                          mblk_t *mp;
455                          if ((mp = allocb(size, 0)) != NULL) {
456 <                                D(bug(" packet data at %p\n", mp->b_rptr));
456 >                                D(bug(" packet data at %p\n", (void *)mp->b_rptr));
457                                  memcpy(mp->b_rptr, p, size);
458                                  mp->b_wptr += size;
459                                  ether_packet_received(mp);
# Line 484 | Line 484 | void EtherIRQ(void)
484                          num_rx_packets++;
485                          mblk_t *mp;
486                          if ((mp = allocb(size, 0)) != NULL) {
487 <                                D(bug(" packet data at %p\n", mp->b_rptr));
487 >                                D(bug(" packet data at %p\n", (void *)mp->b_rptr));
488                                  read(fd, mp->b_rptr, 1514);
489   #if MONITOR
490                                  bug("Receiving Ethernet packet:\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines