head 1.2; access; symbols perseant-exfatfs-base-20250801:1.2 perseant-exfatfs-base-20240630:1.2 perseant-exfatfs:1.2.0.40 perseant-exfatfs-base:1.2 bouyer-sunxi-drm:1.2.0.38 bouyer-sunxi-drm-base:1.2 cjep_sun2x:1.2.0.36 cjep_sun2x-base:1.2 cjep_staticlib_x-base1:1.2 cjep_staticlib_x:1.2.0.34 cjep_staticlib_x-base:1.2 thorpej-futex-base:1.2 bouyer-xenpvh-base2:1.2 phil-wifi-20200421:1.2 bouyer-xenpvh-base1:1.2 phil-wifi-20200411:1.2 bouyer-xenpvh:1.2.0.32 bouyer-xenpvh-base:1.2 phil-wifi-20200406:1.2 ad-namecache-base3:1.2 ad-namecache-base2:1.2 ad-namecache-base1:1.2 ad-namecache:1.2.0.30 ad-namecache-base:1.2 isaki-audio2:1.2.0.28 isaki-audio2-base:1.2 pgoyette-compat-merge-20190127:1.2 pgoyette-compat-20190127:1.2 pgoyette-compat-20190118:1.2 pgoyette-compat-1226:1.2 pgoyette-compat-1126:1.2 pgoyette-compat-1020:1.2 pgoyette-compat-0930:1.2 pgoyette-compat-0906:1.2 pgoyette-compat-0728:1.2 pgoyette-compat-0625:1.2 pgoyette-compat-0521:1.2 pgoyette-compat-0502:1.2 pgoyette-compat-0422:1.2 pgoyette-compat-0415:1.2 pgoyette-compat-0407:1.2 pgoyette-compat-0330:1.2 pgoyette-compat-0322:1.2 pgoyette-compat-0315:1.2 pgoyette-compat:1.2.0.26 pgoyette-compat-base:1.2 perseant-stdc-iso10646:1.2.0.24 perseant-stdc-iso10646-base:1.2 prg-localcount2-base3:1.2 prg-localcount2-base2:1.2 prg-localcount2-base1:1.2 prg-localcount2:1.2.0.22 prg-localcount2-base:1.2 pgoyette-localcount-20170426:1.2 bouyer-socketcan-base1:1.2 pgoyette-localcount-20170320:1.2 bouyer-socketcan:1.2.0.20 bouyer-socketcan-base:1.2 pgoyette-localcount-20170107:1.2 pgoyette-localcount-20161104:1.2 localcount-20160914:1.2 pgoyette-localcount-20160806:1.2 pgoyette-localcount-20160726:1.2 pgoyette-localcount:1.2.0.18 pgoyette-localcount-base:1.2 netbsd-5-2-3-RELEASE:1.1 netbsd-5-1-5-RELEASE:1.1 yamt-pagecache-base9:1.2 yamt-pagecache-tag8:1.2 tls-earlyentropy:1.2.0.16 tls-earlyentropy-base:1.2 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2 riastradh-drm2-base3:1.2 netbsd-5-2-2-RELEASE:1.1 netbsd-5-1-4-RELEASE:1.1 netbsd-5-2-1-RELEASE:1.1 netbsd-5-1-3-RELEASE:1.1 rmind-smpnet-nbase:1.2 rmind-smpnet:1.2.0.12 rmind-smpnet-base:1.2 agc-symver:1.2.0.14 agc-symver-base:1.2 tls-maxphys-base:1.2 yamt-pagecache-base8:1.2 netbsd-5-2:1.1.0.134 yamt-pagecache-base7:1.2 netbsd-5-2-RELEASE:1.1 netbsd-5-2-RC1:1.1 yamt-pagecache-base6:1.2 yamt-pagecache-base5:1.2 yamt-pagecache-base4:1.2 netbsd-5-1-2-RELEASE:1.1 netbsd-5-1-1-RELEASE:1.1 jmcneill-usbmp:1.2.0.10 jmcneill-usbmp-base:1.2 jmcneill-audiomp3:1.2.0.8 jmcneill-audiomp3-base:1.2 yamt-pagecache-base3:1.2 yamt-pagecache-base2:1.2 yamt-pagecache:1.2.0.6 yamt-pagecache-base:1.2 rmind-uvmplock-nbase:1.2 bouyer-quota2-nbase:1.2 bouyer-quota2:1.2.0.4 bouyer-quota2-base:1.2 jruoho-x86intr:1.2.0.2 jruoho-x86intr-base:1.2 matt-nb5-mips64-premerge-20101231:1.1 matt-nb5-pq3:1.1.0.132 matt-nb5-pq3-base:1.1 netbsd-5-1:1.1.0.130 netbsd-5-1-RELEASE:1.1 yamt-nfs-mp-base11:1.2 netbsd-5-1-RC4:1.1 matt-nb5-mips64-k15:1.1 uebayasi-xip-base2:1.2 yamt-nfs-mp-base10:1.2 netbsd-5-1-RC3:1.1 netbsd-5-1-RC2:1.1 netbsd-5-1-RC1:1.1 rmind-uvmplock:1.1.0.128 rmind-uvmplock-base:1.2 yamt-nfs-mp-base9:1.1 uebayasi-xip:1.1.0.126 uebayasi-xip-base:1.1 netbsd-5-0-2-RELEASE:1.1 matt-nb5-mips64-premerge-20091211:1.1 matt-premerge-20091211:1.1 yamt-nfs-mp-base8:1.1 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1 matt-nb4-mips64-k7-u2a-k9b:1.1 matt-nb5-mips64-u1-k1-k5:1.1 yamt-nfs-mp-base7:1.1 matt-nb5-mips64:1.1.0.124 netbsd-5-0-1-RELEASE:1.1 jymxensuspend-base:1.1 yamt-nfs-mp-base6:1.1 yamt-nfs-mp-base5:1.1 yamt-nfs-mp-base4:1.1 jym-xensuspend-nbase:1.1 yamt-nfs-mp-base3:1.1 nick-hppapmap-base4:1.1 nick-hppapmap-base3:1.1 netbsd-5-0:1.1.0.122 netbsd-5-0-RELEASE:1.1 netbsd-5-0-RC4:1.1 netbsd-5-0-RC3:1.1 nick-hppapmap-base2:1.1 netbsd-5-0-RC2:1.1 jym-xensuspend:1.1.0.120 jym-xensuspend-base:1.1 netbsd-5-0-RC1:1.1 haad-dm-base2:1.1 haad-nbase2:1.1 ad-audiomp2:1.1.0.118 ad-audiomp2-base:1.1 netbsd-5:1.1.0.116 netbsd-5-base:1.1 nick-hppapmap:1.1.0.114 nick-hppapmap-base:1.1 matt-mips64-base2:1.1 matt-mips64:1.1.0.112 haad-dm-base1:1.1 wrstuden-revivesa-base-4:1.1 netbsd-4-0-1-RELEASE:1.1 wrstuden-revivesa-base-3:1.1 wrstuden-revivesa-base-2:1.1 wrstuden-fixsa-newbase:1.1 nick-csl-alignment-base5:1.1 haad-dm:1.1.0.110 haad-dm-base:1.1 wrstuden-revivesa-base-1:1.1 simonb-wapbl-nbase:1.1 yamt-pf42-base4:1.1 simonb-wapbl:1.1.0.108 simonb-wapbl-base:1.1 yamt-pf42-base3:1.1 hpcarm-cleanup-nbase:1.1 yamt-pf42-baseX:1.1 yamt-pf42-base2:1.1 yamt-nfs-mp-base2:1.1 wrstuden-revivesa:1.1.0.106 wrstuden-revivesa-base:1.1 yamt-nfs-mp:1.1.0.104 yamt-nfs-mp-base:1.1 yamt-pf42:1.1.0.102 yamt-pf42-base:1.1 ad-socklock-base1:1.1 yamt-lazymbuf-base15:1.1 yamt-lazymbuf-base14:1.1 keiichi-mipv6-nbase:1.1 mjf-devfs2:1.1.0.100 mjf-devfs2-base:1.1 nick-net80211-sync:1.1.0.98 nick-net80211-sync-base:1.1 keiichi-mipv6:1.1.0.96 keiichi-mipv6-base:1.1 bouyer-xeni386-merge1:1.1 matt-armv6-prevmlocking:1.1 wrstuden-fixsa-base-1:1.1 vmlocking2-base3:1.1 netbsd-4-0:1.1.0.94 netbsd-4-0-RELEASE:1.1 bouyer-xeni386-nbase:1.1 yamt-kmem-base3:1.1 cube-autoconf:1.1.0.92 cube-autoconf-base:1.1 yamt-kmem-base2:1.1 bouyer-xeni386:1.1.0.90 bouyer-xeni386-base:1.1 yamt-kmem:1.1.0.88 yamt-kmem-base:1.1 vmlocking2-base2:1.1 reinoud-bufcleanup-nbase:1.1 vmlocking2:1.1.0.86 vmlocking2-base1:1.1 netbsd-4-0-RC5:1.1 matt-nb4-arm:1.1.0.84 matt-nb4-arm-base:1.1 matt-armv6-nbase:1.1 jmcneill-base:1.1 netbsd-4-0-RC4:1.1 mjf-devfs:1.1.0.82 mjf-devfs-base:1.1 bouyer-xenamd64-base2:1.1 vmlocking-nbase:1.1 yamt-x86pmap-base4:1.1 bouyer-xenamd64:1.1.0.80 bouyer-xenamd64-base:1.1 netbsd-4-0-RC3:1.1 yamt-x86pmap-base3:1.1 yamt-x86pmap-base2:1.1 netbsd-4-0-RC2:1.1 yamt-x86pmap:1.1.0.78 yamt-x86pmap-base:1.1 netbsd-4-0-RC1:1.1 matt-armv6:1.1.0.76 matt-armv6-base:1.1 matt-mips64-base:1.1 jmcneill-pm:1.1.0.74 jmcneill-pm-base:1.1 hpcarm-cleanup:1.1.0.72 hpcarm-cleanup-base:1.1 nick-csl-alignment:1.1.0.70 nick-csl-alignment-base:1.1 netbsd-3-1-1-RELEASE:1.1 netbsd-3-0-3-RELEASE:1.1 yamt-idlelwp-base8:1.1 wrstuden-fixsa:1.1.0.68 wrstuden-fixsa-base:1.1 thorpej-atomic:1.1.0.66 thorpej-atomic-base:1.1 reinoud-bufcleanup:1.1.0.64 reinoud-bufcleanup-base:1.1 mjf-ufs-trans:1.1.0.62 mjf-ufs-trans-base:1.1 vmlocking:1.1.0.60 vmlocking-base:1.1 ad-audiomp:1.1.0.58 ad-audiomp-base:1.1 yamt-idlelwp:1.1.0.56 post-newlock2-merge:1.1 newlock2-nbase:1.1 yamt-splraiseipl-base5:1.1 yamt-splraiseipl-base4:1.1 yamt-splraiseipl-base3:1.1 abandoned-netbsd-4-base:1.1 abandoned-netbsd-4:1.1.0.46 netbsd-3-1:1.1.0.52 netbsd-3-1-RELEASE:1.1 netbsd-3-0-2-RELEASE:1.1 yamt-splraiseipl-base2:1.1 netbsd-3-1-RC4:1.1 yamt-splraiseipl:1.1.0.50 yamt-splraiseipl-base:1.1 netbsd-3-1-RC3:1.1 yamt-pdpolicy-base9:1.1 newlock2:1.1.0.48 newlock2-base:1.1 yamt-pdpolicy-base8:1.1 netbsd-3-1-RC2:1.1 netbsd-3-1-RC1:1.1 yamt-pdpolicy-base7:1.1 netbsd-4:1.1.0.54 netbsd-4-base:1.1 yamt-pdpolicy-base6:1.1 chap-midi-nbase:1.1 netbsd-3-0-1-RELEASE:1.1 gdamore-uart:1.1.0.44 gdamore-uart-base:1.1 simonb-timcounters-final:1.1 yamt-pdpolicy-base5:1.1 chap-midi:1.1.0.42 chap-midi-base:1.1 yamt-pdpolicy-base4:1.1 yamt-pdpolicy-base3:1.1 peter-altq-base:1.1 peter-altq:1.1.0.40 yamt-pdpolicy-base2:1.1 elad-kernelauth-base:1.1 elad-kernelauth:1.1.0.38 yamt-pdpolicy:1.1.0.36 yamt-pdpolicy-base:1.1 yamt-uio_vmspace-base5:1.1 simonb-timecounters:1.1.0.34 simonb-timecounters-base:1.1 rpaulo-netinet-merge-pcb:1.1.0.32 rpaulo-netinet-merge-pcb-base:1.1 yamt-uio_vmspace:1.1.0.30 netbsd-3-0:1.1.0.28 netbsd-3-0-RELEASE:1.1 netbsd-3-0-RC6:1.1 yamt-readahead-base3:1.1 netbsd-3-0-RC5:1.1 netbsd-3-0-RC4:1.1 netbsd-3-0-RC3:1.1 yamt-readahead-base2:1.1 netbsd-3-0-RC2:1.1 yamt-readahead-pervnode:1.1 yamt-readahead-perfile:1.1 yamt-readahead:1.1.0.26 yamt-readahead-base:1.1 netbsd-3-0-RC1:1.1 yamt-vop-base3:1.1 netbsd-2-0-3-RELEASE:1.1 netbsd-2-1:1.1.0.24 yamt-vop-base2:1.1 thorpej-vnode-attr:1.1.0.22 thorpej-vnode-attr-base:1.1 netbsd-2-1-RELEASE:1.1 yamt-vop:1.1.0.20 yamt-vop-base:1.1 netbsd-2-1-RC6:1.1 netbsd-2-1-RC5:1.1 netbsd-2-1-RC4:1.1 netbsd-2-1-RC3:1.1 netbsd-2-1-RC2:1.1 netbsd-2-1-RC1:1.1 yamt-lazymbuf:1.1.0.18 yamt-km-base4:1.1 netbsd-2-0-2-RELEASE:1.1 yamt-km-base3:1.1 netbsd-3:1.1.0.16 netbsd-3-base:1.1 yamt-km-base2:1.1 yamt-km:1.1.0.12 yamt-km-base:1.1 kent-audio2:1.1.0.10 kent-audio2-base:1.1 netbsd-2-0-1-RELEASE:1.1 kent-audio1-beforemerge:1.1 netbsd-2:1.1.0.8 netbsd-2-base:1.1 kent-audio1:1.1.0.6 kent-audio1-base:1.1 netbsd-2-0-RELEASE:1.1 netbsd-2-0-RC5:1.1 netbsd-2-0-RC4:1.1 netbsd-2-0-RC3:1.1 netbsd-2-0-RC2:1.1 netbsd-2-0-RC1:1.1 netbsd-2-0:1.1.0.4 netbsd-2-0-base:1.1 ktrace-lwp:1.1.0.2 ktrace-lwp-base:1.1; locks; strict; comment @# @; 1.2 date 2010.04.28.13.51.56; author kiyohara; state dead; branches; next 1.1; 1.1 date 2003.03.05.22.08.18; author matt; state Exp; branches 1.1.104.1 1.1.126.1 1.1.128.1; next ; 1.1.104.1 date 2010.08.11.22.53.37; author yamt; state dead; branches; next ; 1.1.126.1 date 2010.04.30.14.43.27; author uebayasi; state dead; branches; next ; 1.1.128.1 date 2010.05.30.05.17.29; author rmind; state dead; branches; next ; desc @@ 1.2 log @Clean up gt and peripherals. This change tested compile only. @ text @External m.d. interface points: To config, code should configure 'gt' with a struct gtbus_attach_args filled in. The code should have already set up the bus_space and bus_dma tags that are passed in. m.d. pci_chipset_tag_t should contain at least a copy of the gtpci_chipset_tag_t data structure. m.d. code must provide the following functions: pci_intr_map pci_intr_string pci_intr_establish, pci_intr_disestablish void *gtmpp_intr_establish(struct gt_softc *gt, int mpp_pin, int ipl, int (*handler)(void *), void *arg); Add an interrupt attached to Discovery MPP pin at the given ipl with the given handler. void gtmpp_intr_disestablish(struct gt_softc *gt, void *cookie); Remove an interrupt attached to Discovery MPP pin. int gtget_macaddr(struct gt_softc *gt, int function, char *enaddr); Get MAC for Discovery ethernet void intr_enable(void); Enable all interrupts (disregarding spls) void intr_disable(void); Disable all interrupts (disregarding spls) @ 1.1 log @Add preliminary support Marvell (Galileo) Discovery System Controllers. This code was contributed by Allegro Networks. @ text @@ 1.1.104.1 log @sync with head. @ text @@ 1.1.128.1 log @sync with head @ text @@ 1.1.126.1 log @Sync with HEAD. @ text @@