comparison rathaxes_e1000_move_the_interrupt_init_and_cleanup_into_ethernet.patch @ 106:976a4b87803f

Fix the resolution and the e1000 sample with the new scalar ref feature
author David Pineau <dav.pineau@gmail.com>
date Mon, 25 Mar 2013 01:17:56 +0100
parents fb20f01ea997
children f42751b8ca99
comparison
equal deleted inserted replaced
105:fb20f01ea997 106:976a4b87803f
1 # HG changeset patch 1 # HG changeset patch
2 # Parent 1e9f01563db8cac05d81f26c5e100d9629b67f1e 2 # Parent db54879402d420664f53e83cb7f55204571a9a8e
3 Move the interrupt handler init/cleanup out of e1000.blt 3 Move the interrupt handler init/cleanup out of e1000.blt
4 4
5 This is not device dependant and can be done from the Ethernet subsystem 5 This is not device dependant and can be done from the Ethernet subsystem
6 right now, (plus the interrupt handler itself was already in the 6 right now, (plus the interrupt handler itself was already in the
7 Ethernet subsytem). 7 Ethernet subsytem).
230 diff --git a/rathaxes/samples/e1000/ethernet.rti b/rathaxes/samples/e1000/ethernet.rti 230 diff --git a/rathaxes/samples/e1000/ethernet.rti b/rathaxes/samples/e1000/ethernet.rti
231 --- a/rathaxes/samples/e1000/ethernet.rti 231 --- a/rathaxes/samples/e1000/ethernet.rti
232 +++ b/rathaxes/samples/e1000/ethernet.rti 232 +++ b/rathaxes/samples/e1000/ethernet.rti
233 @@ -36,10 +36,12 @@ 233 @@ -36,10 +36,12 @@
234 */ 234 */
235 attribute Builtin::symbol perm_addr; 235 attribute Builtin::symbol.scalar perm_addr;
236 attribute Builtin::symbol dev_addr; 236 attribute Builtin::symbol.scalar dev_addr;
237 + attribute Builtin::symbol irq; 237 + attribute Builtin::symbol.scalar irq;
238 } 238 }
239 239
240 required sequence open(Ethernet::Device) 240 required sequence open(Ethernet::Device)
241 { 241 {
242 + provided chunk LKM::includes(); 242 + provided chunk LKM::includes();