[BACK]Return to mainbus.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / playstation2 / playstation2

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/playstation2/playstation2/mainbus.c between version 1.12 and 1.12.6.3

version 1.12, 2014/03/31 11:25:49 version 1.12.6.3, 2017/12/03 11:36:35
Line 30 
Line 30 
 __KERNEL_RCSID(0, "$NetBSD$");  __KERNEL_RCSID(0, "$NetBSD$");
   
 #include <sys/param.h>  #include <sys/param.h>
   #include <sys/device.h>
 #include <sys/systm.h>  #include <sys/systm.h>
   
 #include <machine/autoconf.h>  #include <machine/autoconf.h>
   
 static int mainbus_match(struct device *, struct cfdata *, void *);  static int mainbus_match(device_t, cfdata_t, void *);
 static void mainbus_attach(struct device *, struct device *, void *);  static void mainbus_attach(device_t, device_t, void *);
 static int mainbus_search(struct device *, struct cfdata *,  static int mainbus_search(device_t, cfdata_t,
                           const int *, void *);                            const int *, void *);
 static int mainbus_print(void *, const char *);  static int mainbus_print(void *, const char *);
   
 CFATTACH_DECL(mainbus, sizeof(struct device),  CFATTACH_DECL_NEW(mainbus, sizeof(struct device),
     mainbus_match, mainbus_attach, NULL, NULL);      mainbus_match, mainbus_attach, NULL, NULL);
   
 static int  static int
 mainbus_match(struct device *parent, struct cfdata *cf, void *aux)  mainbus_match(device_t parent, cfdata_t cf, void *aux)
 {  {
   
         return (1);          return (1);
 }  }
   
 static void  static void
 mainbus_attach(struct device *parent, struct device *self, void *aux)  mainbus_attach(device_t parent, device_t self, void *aux)
 {  {
   
         printf("\n");          printf("\n");
Line 64  mainbus_attach(struct device *parent, st
Line 65  mainbus_attach(struct device *parent, st
 }  }
   
 static int  static int
 mainbus_search(struct device *parent, struct cfdata *cf,  mainbus_search(device_t parent, cfdata_t cf,
                const int *ldesc, void *aux)                 const int *ldesc, void *aux)
 {  {
         struct mainbus_attach_args ma;          struct mainbus_attach_args ma;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.12.6.3

CVSweb <webmaster@jp.NetBSD.org>