Subject: No device node for mlx(4)
To: None <netbsd-help@netbsd.org>
From: Daniel Eggert <danieleggert@mac.com>
List: netbsd-help
Date: 09/22/2002 12:59:24
Dear community,

I've got the Mylex RAID card running, but I can't access it with 
mlxctl(8):
	[kelvin] ~> mlxctl -f /dev/mlx0 -v status ld0
	mlxctl: /dev/mlx0: No such file or directory

I don't have a device node, and MAKEDEV doesn't create one for my port 
(macppc). BTW: I've found several devices, that the i386 port of 
MAKEDEV will create, but no other port will. Why? The mlx(4) driver 
_is_ working on my system.

When I check the man page for mknod, it tells me to look at 
/usr/src/sys/arch/<arch>/<arch>/conf.c, but there's nothing about 'mlx' 
in there.

During startup I see mlx0 with several logical drives:
	[kelvin] ~> dmesg | grep mlx0
	mlx0 at pci0 dev 13 function 0: Mylex RAID (v2 interface)
	mlx0: interrupting at irq 23
	mlx0: DAC960P/PD, 2 channels, firmware 2.44-0-00, 4MB RAM
	ld0 at mlx0 unit 0: RAID5, online
	ld1 at mlx0 unit 1: RAID5, online
	ld2 at mlx0 unit 2: RAID5, online
	ld3 at mlx0 unit 3: RAID5, online
	ld4 at mlx0 unit 4: RAID5, online

Does anybody know how to find out how to run mknod(8) to get a device 
node for mlx(4) on a non-i386 port?

Daniel