入手と netboot
  cross/release
    binary
    20050927
    20060804
    20060819
  netboot
    server
      /etc/bootptab
      /etc/exports
      /etc/rc.conf
      /etc/inetd.conf
    client
  default catch
  20080203
  20071111
  dmesg
  disklabel
  chroot
  device
    grackle
    mpic
    W83c553F

hardware/

RS/6000 B50

Last Update: "2007/06/16 10:27:44 makoto"

device

grackle

simple test for adding grackle to the kernel, by using macppc files:
  • changes GENERIC and files.ofppc
  • cp sys/arch/macppc/include/pio.h sys/arch/ofppc/include/pio.h
  • sudo ./build.sh -u -T /export/20060819/obj/tooldir.NetBSD-3.99.21-powerpc -m ofppc -a powerpc kernel=GENERIC
/export/20060819/sys/arch/macppc/pci/grackle.c:44: error: field 'sc_pc' has incomplete type
/export/20060819/sys/arch/macppc/pci/grackle.c: In function 'grackle_attach':
/export/20060819/sys/arch/macppc/pci/grackle.c:102: error: 'struct ppc_pci_chipset' has no member named 'node'
/export/20060819/sys/arch/macppc/pci/grackle.c:103: error: 'struct ppc_pci_chipset' has no member named 'addr'
/export/20060819/sys/arch/macppc/pci/grackle.c:104: error: 'struct ppc_pci_chipset' has no member named 'data'
/export/20060819/sys/arch/macppc/pci/grackle.c:105: error: 'struct ppc_pci_chipset' has no member named 'bus'
/export/20060819/sys/arch/macppc/pci/grackle.c:106: error: 'struct ppc_pci_chipset' has no member named 'conf_read'
/export/20060819/sys/arch/macppc/pci/grackle.c:107: error: 'struct ppc_pci_chipset' has no member named 'conf_write'
/export/20060819/sys/arch/macppc/pci/grackle.c:108: error: 'struct ppc_pci_chipset' has no member named 'memt'
/export/20060819/sys/arch/macppc/pci/grackle.c:117: error: 'struct ppc_pci_chipset' has no member named 'iot'
/export/20060819/sys/arch/macppc/pci/grackle.c:123: error: 'struct ppc_pci_chipset' has no member named 'memt'
/export/20060819/sys/arch/macppc/pci/grackle.c:124: error: 'struct ppc_pci_chipset' has no member named 'iot'
/export/20060819/sys/arch/macppc/pci/grackle.c:125: error: 'pci_bus_dma_tag' undeclared (first use in this function)
/export/20060819/sys/arch/macppc/pci/grackle.c:125: error: (Each undeclared identifier is reported only once
/export/20060819/sys/arch/macppc/pci/grackle.c:125: error: for each function it appears in.)
/export/20060819/sys/arch/macppc/pci/grackle.c:127: error: 'struct ppc_pci_chipset' has no member named 'bus'
cc1: warnings being treated as errors
/export/20060819/sys/arch/macppc/pci/grackle.c: In function 'grackle_conf_read':
/export/20060819/sys/arch/macppc/pci/grackle.c:146: warning: implicit declaration of function 'out32rb'
/export/20060819/sys/arch/macppc/pci/grackle.c:146: error: 'struct ppc_pci_chipset' has no member named 'addr'
/export/20060819/sys/arch/macppc/pci/grackle.c:148: warning: implicit declaration of function 'badaddr'
/export/20060819/sys/arch/macppc/pci/grackle.c:148: error: 'struct ppc_pci_chipset' has no member named 'data'
/export/20060819/sys/arch/macppc/pci/grackle.c:149: warning: implicit declaration of function 'in32rb'
/export/20060819/sys/arch/macppc/pci/grackle.c:149: error: 'struct ppc_pci_chipset' has no member named 'data'
/export/20060819/sys/arch/macppc/pci/grackle.c:150: error: 'struct ppc_pci_chipset' has no member named 'addr'
/export/20060819/sys/arch/macppc/pci/grackle.c: In function 'grackle_conf_write':
/export/20060819/sys/arch/macppc/pci/grackle.c:168: error: 'struct ppc_pci_chipset' has no member named 'addr'
/export/20060819/sys/arch/macppc/pci/grackle.c:169: error: 'struct ppc_pci_chipset' has no member named 'data'
/export/20060819/sys/arch/macppc/pci/grackle.c:170: error: 'struct ppc_pci_chipset' has no member named 'addr'

*** Failed target:  grackle.o
sys/arch/macppc/pci/grackle.c:44:       struct pci_bridge sc_pc;
ttyp0:makoto@st4200 22:53:50/060820(/export/20060819)> gid ppc_pci_chipset
sys/arch/ofppc/firepower/firepowervar.h:50:     struct ppc_pci_chipset c_pc;
sys/arch/ofppc/include/pci_machdep.h:38:typedef struct ppc_pci_chipset *pci_chipset_tag_t;
sys/arch/ofppc/include/pci_machdep.h:51:struct ppc_pci_chipset {
-> pci_machdep.h.diff

sys/arch/ofppc/include/autoconf.h:

struct confargs {
        const char      *ca_name;
        u_int           ca_node;
        int             ca_nreg;
        u_int           *ca_reg;
        int             ca_nintr;
        int             *ca_intr;

        u_int           ca_baseaddr;
        /* bus_space_tag_t ca_tag; */
};
PCI Vendor and Device Lists
http://www.pcidatabase.com/
a part of PCI vendor ID
http://openfacts.berlios.de/index-en.phtml?title=Bcm43xxDevices
Last Update: Sat, 07 Jun 2014 13:16:17 GMT 1.66 2008/03/08