|
@@ -631,6 +631,9 @@ static int nat_open ( struct net_device *netdev ) {
|
631
|
631
|
outl ( tx_config, nat->ioaddr + TxConfig );
|
632
|
632
|
outl ( rx_config, nat->ioaddr + RxConfig );
|
633
|
633
|
|
|
634
|
+ DBG ( "Tx config register = %x Rx config register = %x\n",
|
|
635
|
+ (unsigned int) inl ( nat->ioaddr + TxConfig),
|
|
636
|
+ (unsigned int) inl ( nat->ioaddr + RxConfig) );
|
634
|
637
|
/*start the receiver
|
635
|
638
|
*/
|
636
|
639
|
outl ( RxOn, nat->ioaddr + ChipCmd );
|
|
@@ -641,6 +644,7 @@ static int nat_open ( struct net_device *netdev ) {
|
641
|
644
|
do_cable_magic ( netdev );
|
642
|
645
|
init_phy_fixup ( netdev );
|
643
|
646
|
|
|
647
|
+
|
644
|
648
|
|
645
|
649
|
/* mask the interrupts. note interrupt is not enabled here
|
646
|
650
|
*/
|
|
@@ -783,6 +787,8 @@ static void nat_poll ( struct net_device *netdev) {
|
783
|
787
|
rx_status = (unsigned int) nat->rx[nat->rx_cur].cmdsts;
|
784
|
788
|
while ( ( rx_status & OWN ) ) {
|
785
|
789
|
rx_len = ( rx_status & DSIZE ) - CRC_SIZE;
|
|
790
|
+ DBG ( " Status of received packet = %X , Lenght of Packet = %X\n",
|
|
791
|
+ rx_status,rx_len );
|
786
|
792
|
|
787
|
793
|
/*check for the corrupt packet
|
788
|
794
|
*/
|