NetBSD/sys/dev/ieee1394/files.ieee1394
jmc 1db8069fe5 First pass (checkpoint checkin) for firewire scsi code.
There are a number of issues here for anyone trying to use this today:

1. On my test drive the command engine on the drive seems to stall after the
   inquire is done. So the mode sense times out for a long time before
   aborting. This obviously needs to be tracked down and fixed.

   However it does do a proper inquire:

scsibus0 at sbpscsi0: 1 target, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Maxtor, 1394 storage, 60> disk fixed

2. This code is quite ugly in places as debug code was added to test things.
   Definitly needs cleanup/documention in places where it's using command
   structures. The structure for alloc'ing orbs, running them through the
   command engine and getting state back is mostly set but implementation needs
   an overhaul in places.

3. For testing I use the following config options:

fwohci* at cardbus? dev ? function ?    # IEEE1394 Controller
fw*     at fwbus?
options FW_DEBUG
options FWNODE_DEBUG
options P1212_DEBUG
options SBP2_DEBUG
options SBPSCSI_DEBUG
fwnode* at fwbus?
sbpscsi* at fwnode?
scsibus* at sbpscsi?
2002-11-22 16:28:54 +00:00

20 lines
407 B
Plaintext

# $NetBSD: files.ieee1394,v 1.7 2002/11/22 16:28:55 jmc Exp $
file dev/ieee1394/fwlynx.c fwlynx
file dev/ieee1394/fwohci.c fwohci
device fwnode { }
attach fwnode at fwbus: ieee1212
file dev/ieee1394/fwnode.c fwnode
device sbpscsi: scsi, sbp2
attach sbpscsi at fwnode
file dev/ieee1394/sbpscsi.c sbpscsi
device fw: arp, ieee1394, ifnet
attach fw at fwbus
file dev/ieee1394/if_fw.c fw