Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sparc64

Module Name:    src
Committed By:   mrg
Date:           Sun Dec  7 21:03:58 UTC 2008

Modified Files:
        src/sys/arch/sparc64/dev: pci_machdep.c psycho.c psychovar.h
        src/sys/arch/sparc64/include: pci_machdep.h
        src/sys/arch/sparc64/sparc64: rbus_machdep.c

Log Message:
a few clean up/rearrange changes, somewhat inspired from openbsd's

- rename pp_busnode{} -> spc_busnode{}, and move it to

- move public pci functions pci_conf_read(), pci_conf_write() and
  pci_intr_establish() into psycho.c, renaming them in the process,
  and add pointers through sparc_pci_chipset{} to access them.
  as part of this, add PDB_INTMAP and PDB_CONF debug options to

- move and rename sparc64 private pci_find_ino() into
  sparc_pci_chipset{}, like the above

- update psycho_alloc_chipset() to set the new 4 function members

no functional change intended.  XXX: not tested on cardbus.

To generate a diff of this commit:
cvs rdiff -r1.59 -r1.60 src/sys/arch/sparc64/dev/pci_machdep.c
cvs rdiff -r1.91 -r1.92 src/sys/arch/sparc64/dev/psycho.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/sparc64/dev/psychovar.h
cvs rdiff -r1.19 -r1.20 src/sys/arch/sparc64/include/pci_machdep.h
cvs rdiff -r1.12 -r1.13 src/sys/arch/sparc64/sparc64/rbus_machdep.c

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

Home | Main Index | Thread Index | Old Index