comparison rathaxes_start_to_implement_pci_stuff_in_the_lkm.patch @ 12:80cfe40c1136

WIP on the LKM sample, add a patch to work on the Ethernet subsystem
author Louis Opter <louis@lse.epitech.net>
date Fri, 06 Jan 2012 17:33:00 +0100
parents efee5f0249e2
children 052f9209ca09
comparison
equal deleted inserted replaced
11:efee5f0249e2 12:80cfe40c1136
154 } 154 }
155 diff --git a/rathaxes/samples/lkm/pci.blt b/rathaxes/samples/lkm/pci.blt 155 diff --git a/rathaxes/samples/lkm/pci.blt b/rathaxes/samples/lkm/pci.blt
156 new file mode 100644 156 new file mode 100644
157 --- /dev/null 157 --- /dev/null
158 +++ b/rathaxes/samples/lkm/pci.blt 158 +++ b/rathaxes/samples/lkm/pci.blt
159 @@ -0,0 +1,130 @@ 159 @@ -0,0 +1,129 @@
160 +with PCI, LKM, Log 160 +with PCI, LKM, Log
161 +{ 161 +{
162 + template type PCI::Device() 162 + template type PCI::Device()
163 + { 163 + {
164 + chunk LKM::includes() 164 + chunk LKM::includes()
273 + * 273 + *
274 + * Also, can I call the Log interface from here? 274 + * Also, can I call the Log interface from here?
275 + * ${Log::info("Message")}; doesn't seem to work. 275 + * ${Log::info("Message")}; doesn't seem to work.
276 + * } 276 + * }
277 + */ 277 + */
278 + ${Log::info("Message")};
279 + } 278 + }
280 + } 279 + }
281 + 280 +
282 + template sequence PCI::unregister() 281 + template sequence PCI::unregister()
283 + { 282 + {