11.31Srin$NetBSD: TODO,v 1.31 2019/04/07 03:49:24 rin Exp $
21.2Sthorpej
31.17StsutsuiTo do list (in some particular order)
41.17StsutsuiXXX some entries might be obsolete.
51.12Ssoda
61.17Stsutsui    o	use MI driver
71.17Stsutsui
81.17Stsutsui	-   make fd driver MI, and share it with other ports
91.17Stsutsui	    (contact christos about MI fd driver)
101.17Stsutsui
111.17Stsutsui	-   use MI bha driver instead of home grown btl
121.17Stsutsui	    XXX needs fixes of DESKstation support
131.14Ssoda
141.17Stsutsui    o	VXL framebuffer support (Magnum, RISCstation 2200)
151.29Stsutsui	(Note nowadays QEMU supports Magnum 4000 with VXL)
161.14Ssoda
171.17Stsutsui    o	com_jazzio.c
181.17Stsutsui	-   clock handling clean up (obtain from ARC BIOS)
191.17Stsutsui	-   fifo disabling may be only needed on some Magnum?
201.1Sjonathan
211.17Stsutsui    o	AD1848 audio support
221.1Sjonathan
231.17Stsutsui    o	missing MI devices
241.17Stsutsui		ses?, vcoda, ...
251.1Sjonathan
261.4Ssoda
271.17Stsutsui    o	Xserver
281.4Ssoda
291.17Stsutsui	-   VXL		Magnum, RISCstation 2200
301.17Stsutsui	-   vga/S3	PICA, Image RISCstation - OpenBSD's?
311.17Stsutsui	-   vga/cirrus	RISCserver 2200, Express5800/240 R4400 EISA
321.17Stsutsui	-   vga/???	DESKstation Tyne, rPC44
331.17Stsutsui	-   TGA		RISCstation 2250, Express5800/230 R4400 PCI
341.29Stsutsui			(TGA support in XalphaNetBSD just works,
351.29Stsutsui			 but needs XOrg'fy)
361.4Ssoda
371.17Stsutsui    o   Find out why bitmap load to S3-928 flashes screen. (X server)
381.17Stsutsui	Know why (enable linear mode). Need S3 info.
391.5Ssoda
401.5Ssoda
411.27Stsutsui    o	repair DescStation support
421.11Ssoda	-   requires bounce buffer bus_dma for Tyne
431.17Stsutsui		XXX - too small bounce buffer size (128KB)
441.11Ssoda
451.15Ssoda    o	Olivetti M700 support
461.11Ssoda
471.19Stsutsui    o	NEC Express5800/230 R10000 PCI (NEC-J95) support
481.27Stsutsui	(needs info about interrupt, jazzio device address etc.)
491.11Ssoda
501.17Stsutsui    o	SNI RM200PCI/RM300/RM400/RM600 support
511.27Stsutsui	(Linux/MIPS seems to have some info)
521.11Ssoda
531.11Ssoda
541.17Stsutsui    o	parse ARC BIOS configuration information and use it
551.11Ssoda
561.17Stsutsui    o	fix kernel start address
571.11Ssoda
581.17Stsutsui    o	allocate PICA_TL_BASE dynamically
591.5Ssoda
601.15Ssoda    o	remove inb/outb
611.8Snisimura
621.17Stsutsui    o	fix mem_clusters[] usage.
631.17Stsutsui
641.15Ssoda    o	redesign interrupt handler framework.
651.11Ssoda
661.23Stsutsui    o	it is better to always disable the MIPS3 internal timer interrupts
671.23Stsutsui	(i.e. MIPS_INT_MASK_5) if it is not needed for the system.
681.9Ssoda	those are the points which should be fixed:
691.9Ssoda	mips_idle: li t0, (MIPS_INT_MASK | MIPS_SR_INT_IE)
701.9Ssoda	machdep.c: curpcb->pcb_context[11] = MIPS_INT_MASK | MIPS_SR_INT_IE;
711.9Ssoda	spl0()
721.9Ssoda	splnone()
731.10Ssoda
741.17Stsutsui    o	XXX at least 2000/06/07 version is already quite unstable
751.17Stsutsui	on PICA and NEC Image RISCstation. (but almost OK on Magnum)
761.17Stsutsui	Userland commands dumps	core randomly.
771.17Stsutsui	This version is before _MIPS_PADDR_T_64BIT changes
781.17Stsutsui	and MIPS3_TLB_WIRED_UPAGES changes.	
791.1Sjonathan
801.17Stsutsui	"vm_page_zero_enable = FALSE" makes this problem disappeared.
811.17Stsutsui	(vm_page_zero_enable = FALSE by default on all archs w/ UBC, now)
821.11Ssoda
831.17Stsutsui	currently, page zero in the idle loop is also disabled on
841.17Stsutsui	untested platforms like DESKstation rPC44/Tyne and SNI for safety.
851.11Ssoda
861.17Stsutsui	    XXX what's the current status of uvm_pageidlezero()?
871.11Ssoda
881.4Ssoda
891.17Stsutsui    o	resolve "XXX"
901.5Ssoda
911.4Ssoda
921.17Stsutsui(following entries might be MI MIPS items)
931.11Ssoda
941.17Stsutsui    o	Move the RO and WIRED attribute from the pte to the pv table.
951.17Stsutsui	This saves four instructions in the tlb miss handler.
961.15Ssoda
971.11Ssoda    o	clean up ALEAF/NLEAF/NON_LEAF/NNON_LEAF in userland.
981.1Sjonathan
991.1SjonathanLots of other things.....
100