Mercurial > flash_v2
comparison packages/devs/eth/arm/ebsa285/current/src/if_ebsa285.c @ 126:518f42066aba ecos-sw-2000-09-19
Merge from eCos master repository on 2000-09-19-06:25:26-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Sep 2000 05:53:51 +0000 |
| parents | 0ec04793409a |
| children | 0c2b7be0d798 |
comparison
equal
deleted
inserted
replaced
| 125:b4407dc7f59d | 126:518f42066aba |
|---|---|
| 1788 } while ( device_index == mux_device_index ); | 1788 } while ( device_index == mux_device_index ); |
| 1789 } | 1789 } |
| 1790 | 1790 |
| 1791 // ------------------------------------------------------------------------ | 1791 // ------------------------------------------------------------------------ |
| 1792 // Device table entry to operate the chip in a polled mode. | 1792 // Device table entry to operate the chip in a polled mode. |
| 1793 // Only diddle the interface we were asked to! | |
| 1793 | 1794 |
| 1794 void i82559_poll(struct eth_drv_sc *sc) | 1795 void i82559_poll(struct eth_drv_sc *sc) |
| 1795 { | 1796 { |
| 1796 struct i82559 *p_i82559; | 1797 struct i82559 *p_i82559; |
| 1797 p_i82559 = (struct i82559 *)sc->driver_private; | 1798 p_i82559 = (struct i82559 *)sc->driver_private; |
| 1802 #endif | 1803 #endif |
| 1803 return; | 1804 return; |
| 1804 } | 1805 } |
| 1805 | 1806 |
| 1806 // As it happens, this driver always requests the DSR to be called: | 1807 // As it happens, this driver always requests the DSR to be called: |
| 1807 (void)eth_mux_isr( CYGNUM_HAL_INTERRUPT_PCI_IRQ, (cyg_addrword_t)p_i82559 ); | 1808 (void)eth_isr( CYGNUM_HAL_INTERRUPT_PCI_IRQ, (cyg_addrword_t)p_i82559 ); |
| 1808 | 1809 |
| 1809 i82559_deliver( NULL /* arg is not used */ ); | 1810 uni_deliver( p_i82559 ); |
| 1810 } | 1811 } |
| 1811 | 1812 |
| 1812 // ------------------------------------------------------------------------ | 1813 // ------------------------------------------------------------------------ |
| 1813 // Determine interrupt vector used by a device - for attaching GDB stubs | 1814 // Determine interrupt vector used by a device - for attaching GDB stubs |
| 1814 // packet handler. | 1815 // packet handler. |
