Diff for /wikisrc/tutorials/bus_space_tutorial.mdwn between versions 1.4 and 1.5

version 1.4, 2013/06/23 14:34:32 version 1.5, 2013/06/23 14:41:01
Line 323  this knowledge yourself. Line 323  this knowledge yourself.
 ### Adding the new PCI driver  ### Adding the new PCI driver
   
 -   Choose a name - short, easy to remember, avoid numbers  -   Choose a name - short, easy to remember, avoid numbers
     -   faa      -   faa looks like a good name, but you can choose any name you like
         looks like a good name, but you can choose any name you like  
 -   Create a set of new files in src/sys/dev/pci  -   Create a set of new files in src/sys/dev/pci
     -   faa.c      -   faa.c
         - main driver code          - main driver code
Line 401  this knowledge yourself. Line 400  this knowledge yourself.
 <!-- -->  <!-- -->
   
     #include <sys/cdefs.h>      #include <sys/cdefs.h>
     __KERNEL_RCSID(0, "$NetBSD: bus_space_tutorial.mdwn,v 1.3 2013/06/23 14:16:27 mspo Exp $");      __KERNEL_RCSID(0, "$NetBSD: bus_space_tutorial.mdwn,v 1.4 2013/06/23 14:34:32 mspo Exp $");
     #include <sys/param.h>      #include <sys/param.h>
     #include <sys/device.h>      #include <sys/device.h>
     #include <dev/pci/pcivar.h>      #include <dev/pci/pcivar.h>
Line 1260  this knowledge yourself. Line 1259  this knowledge yourself.
 -   <https://github.com/rkujawa/busspace-tutorial>  -   <https://github.com/rkujawa/busspace-tutorial>
 -   <https://github.com/rkujawa/gxemul-tutorial>  -   <https://github.com/rkujawa/gxemul-tutorial>
   
 ### Questions?  
   
 -   Do you have any questions?  
   
 ### The End…  ### The End…
   
 ![image](NetBSD.png)  [^1]: At least they should, some functions are missing on less popular ports
   
 Thank you!  
   
 [^1]: At least they should, some functions are missing on less popular  
     ports  
   
 [^2]: Only three of these registers are of any importance for us at this  [^2]: Only three of these registers are of any importance for us at this moment
     moment  
   
 [^3]: Required if you are NetBSD developer, optional otherwise.  [^3]: Required if you are NetBSD developer, optional otherwise.
   
 [^4]: Might not exist if the driver is only a simple passthrough from a  [^4]: Might not exist if the driver is only a simple passthrough from a specific bus to another MI driver.
     specific bus to another MI driver.  
   
 [^5]: Omitted if not needed.  [^5]: Omitted if not needed.
   
 [^6]: although you’ll often have to use bus\_size\_t  [^6]: although you’ll often have to use bus\_size\_t
   
 [^7]: It’s also possible to define a major in a machine-independent way  [^7]: It’s also possible to define a major in a machine-independent way in src/sys/conf/majors
     in src/sys/conf/majors  

Removed from v.1.4  
changed lines
  Added in v.1.5


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb