The NetBSD Project

CVS log for src/sys/arch/evbppc/wii/dev/ohci_hollywood.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / evbppc / wii / dev

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 2 12:28:15 2024 UTC (3 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +5 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #910):

	sys/arch/evbppc/wii/dev/hollywood.h: revision 1.3
	sys/arch/evbppc/wii/dev/hollywood.c: revision 1.3
	sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.3
	sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.3
	sys/dev/usb/ohcireg.h: revision 1.29
	sys/arch/evbppc/include/wii.h: revision 1.8
	sys/arch/evbppc/conf/WII: revision 1.6
	sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.3
	sys/dev/usb/ohcivar.h: revision 1.63
	sys/dev/usb/ohci.c: revision 1.329

wii: Restrict IOP access to shared peripherals.

Ensure that the IOP cannot access peripherals by clearing the appropriate
bus access bit. I have observed OHCI reporting completion for TDs living
in ARM reserved memory at runtime, this seems to suppress that.

ohci: Allocate a whole cacheline for all descriptors

Allocate a whole cacheline for all descriptor types such that:
 i) they can be alloc'ed without USBMALLOC_COHERENT which can mean they're
    now mapped cacheable, and
ii) the "soft" versions are cacheable, and mapped as small as possible.

Patch/idea mainly from Nick (skrll@) with a few fixes from me.

wii: Enable ohci(4) driver.
This seems to be stable now, let's enable support for plugging in LS/FS
devices directly into the system without a hub.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 22 13:56:25 2024 UTC (3 months, 3 weeks ago) by jmcneill
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2 lines
wii: Restrict IOP access to shared peripherals.

Ensure that the IOP cannot access peripherals by clearing the appropriate
bus access bit. I have observed OHCI reporting completion for TDs living
in ARM reserved memory at runtime, this seems to suppress that.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 3 11:47:05 2024 UTC (11 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +103 -0 lines
Pull up following revision(s) (requested by jmcneill in ticket #561):

	etc/etc.evbppc/Makefile.inc: revision 1.15
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
	sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
	sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
	distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
	usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
	sys/arch/evbppc/wii/dev/viio.h: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
	sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
	distrib/utils/embedded/conf/wii.conf: revision 1.1
	distrib/utils/embedded/conf/wii.conf: revision 1.2
	distrib/utils/embedded/conf/wii.conf: revision 1.3
	sys/dev/sdmmc/sdhcvar.h: revision 1.34
	sys/dev/sdmmc/sdhc.c: revision 1.118
	sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
	distrib/utils/embedded/conf/evbppc.conf: revision 1.1
	sys/dev/wsfb/genfb.c: revision 1.91
	sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
	sys/dev/wscons/wsconsio.h: revision 1.127
	sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
	sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
	sys/arch/evbppc/conf/std.wii: revision 1.1
	sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
	sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
	sys/arch/evbppc/conf/std.wii: revision 1.2
	sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
	sys/arch/evbppc/conf/std.wii: revision 1.3
	sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
	sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
	sys/dev/usb/usb.h: revision 1.124
	sys/arch/evbppc/wii/machdep.c: revision 1.1
	sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
	sys/arch/powerpc/include/oea/hid.h: revision 1.14
	sys/arch/evbppc/wii/mainbus.c: revision 1.1
	sys/arch/evbppc/wii/machdep.c: revision 1.2
	sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
	sys/arch/evbppc/wii/mainbus.c: revision 1.2
	sys/arch/evbppc/wii/machdep.c: revision 1.3
	sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
	sys/arch/evbppc/wii/mainbus.c: revision 1.3
	sys/arch/evbppc/wii/machdep.c: revision 1.4
	sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
	sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
	sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
	sys/arch/evbppc/wii/wii_locore.S: revision 1.1
	sys/arch/evbppc/conf/files.wii: revision 1.1
	sys/arch/evbppc/wii/wii_locore.S: revision 1.2
	sys/arch/evbppc/include/wii.h: revision 1.1
	sys/arch/evbppc/conf/files.wii: revision 1.2
	sys/arch/evbppc/wii/dev/exi.c: revision 1.1
	sys/arch/evbppc/include/wii.h: revision 1.2
	sys/arch/evbppc/conf/files.wii: revision 1.3
	sys/arch/powerpc/powerpc/clock.c: revision 1.18
	sys/arch/evbppc/include/wii.h: revision 1.3
	sys/arch/evbppc/conf/files.wii: revision 1.4
	sys/arch/evbppc/include/wii.h: revision 1.4
	sys/arch/evbppc/wii/dev/exi.h: revision 1.1
	sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
	sys/arch/evbppc/include/wii.h: revision 1.5
	sys/arch/evbppc/include/wii.h: revision 1.6
	sys/arch/evbppc/include/wii.h: revision 1.7
	sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.79
	sys/arch/evbppc/conf/WII: revision 1.1
	sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
	distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
	sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
	sys/arch/evbppc/conf/WII: revision 1.2
	distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
	sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
	sys/arch/evbppc/conf/WII: revision 1.3
	sys/arch/evbppc/conf/WII: revision 1.4
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
	sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
	sys/dev/usb/ehcivar.h: revision 1.52
	sys/arch/evbppc/wii/pic_pi.c: revision 1.1
	sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
	etc/etc.evbppc/ttys: revision 1.8
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
	sys/arch/evbppc/wii/autoconf.c: revision 1.1
	sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
	sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
	sys/arch/evbppc/wii/autoconf.c: revision 1.2
	sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
       playback: 16, 2ch, 48000Hz
       record:   unavailable
       (P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id      CPU0  device name(s)
pi irq 14        64769* hollywood0
hollywood irq 36  5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40     4* sdhc1
hollywood irq 49     0* resetbtn0
pi irq 5             0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.

Revision 1.2.2.1
Tue Jan 23 21:56:07 2024 UTC (11 months, 3 weeks ago) by martin
Branches: netbsd-10
FILE REMOVED
Changes since revision 1.2: +0 -103 lines
file ohci_hollywood.c was added on branch netbsd-10 on 2024-02-03 11:47:05 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 23 21:56:07 2024 UTC (11 months, 3 weeks ago) by jmcneill
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Branch point for: netbsd-10
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -3 lines
wii: provide device names to intr_establish

wii$ intrctl list
interrupt id      CPU0  device name(s)
pi irq 14        64769* hollywood0
hollywood irq 36  5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40     4* sdhc1
hollywood irq 49     0* resetbtn0
pi irq 5             0* bwai0

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jan 20 21:36:00 2024 UTC (11 months, 4 weeks ago) by jmcneill
Branches: MAIN
evbppc: Add initial support for the Nintendo Wii

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>