From owner-freebsd-firewire Sun Mar 10 7:31:33 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from ns.kobe1995.net (211.12.126.15.user.dt.il24.net [211.12.126.15]) by hub.freebsd.org (Postfix) with ESMTP id 51CBD37B416 for ; Sun, 10 Mar 2002 07:31:20 -0800 (PST) Received: (from kaz@localhost) by ns.kobe1995.net (8.8.8/3.7W-primary) id AAA05124; Mon, 11 Mar 2002 00:30:59 +0900 (JST) Date: Mon, 11 Mar 2002 00:30:59 +0900 (JST) Message-Id: <200203101530.AAA05124@ns.kobe1995.net> To: simokawa@sat.t.u-tokyo.ac.jp Cc: freebsd-firewire@freebsd.org, ikob@koganei.wide.ad.jp Subject: Re: Status of adding Firewire support to kernel? In-Reply-To: Your message of "Wed, 20 Feb 2002 17:19:09 +0900". From: kaz@kobe1995.net (NAKAMURA Kazushi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article simokawa@sat.t.u-tokyo.ac.jp writes: >I have updated the tarball. > >http://people.FreeBSD.org/~simokawa/firewire-20020220.tar.gz > >You don't need 'bus reset' or 'camcontrol rescan' anymore. >You may still need to do mknod or patch cam/scsi code, see MAKEDEV and >CAM-patch in the archive. I added VIA VT6306 support to firewire-20020309.tar.gz . It seems to be work. Please merge VT6306 code. My IEEE1394 card is "KUROUTO SHIKOU IEEE1394V2-PCI", 2000+ yen(under $20?). BTW, where is IEEE1394 applications such like FXTV ? Thank you. ==> diff from 20020309, at /sys/dev/firewire --- fwohcireg.h- Sun Feb 17 22:00:34 2002 +++ fwohcireg.h Sun Mar 10 20:49:11 2002 @@ -45,11 +45,13 @@ #define FW_VENDORID_NEC 0x1033 #define FW_VENDORID_TI 0x104c #define FW_VENDORID_SONY 0x104d +#define FW_VENDORID_VIA 0x1106 #define FW_DEVICE_U861 0x0063 #define FW_DEVICE_TITSB22 0x8009 #define FW_DEVICE_TITSB23 0x8019 #define FW_DEVICE_TITSB26 0x8020 #define FW_DEVICE_CX3022 0x8039 +#define FW_DEVICE_VT6306 0x3044 #define OHCI_DMA_ITCH 0x20 #define OHCI_DMA_IRCH 0x20 --- fwohci_pci.c- Fri Mar 8 13:25:36 2002 +++ fwohci_pci.c Sun Mar 10 20:49:23 2002 @@ -65,6 +65,7 @@ #define FW_VENDORID_NEC 0x1033 #define FW_VENDORID_TI 0x104c #define FW_VENDORID_SONY 0x104d +#define FW_VENDORID_VIA 0x1106 #define FW_DEVICE_UPD861 0x0063 #define FW_DEVICE_TITSB22 0x8009 @@ -72,6 +73,7 @@ #define FW_DEVICE_TITSB26 0x8020 #define FW_DEVICE_TITSB43 0x8021 #define FW_DEVICE_CX3022 0x8039 +#define FW_DEVICE_VT6306 0x3044 #define FW_OHCI_BASE_REG 0x10 @@ -114,6 +116,11 @@ device_set_desc(dev, "SONY CX3022"); return 0; } + if ((pci_get_vendor(dev) == FW_VENDORID_VIA) && + (pci_get_device(dev) == FW_DEVICE_VT6306)) { + device_set_desc(dev, "VIA VT6306"); + return 0; + } return ENXIO; } @@ -212,6 +219,13 @@ switch(pci_get_device(self)) { case FW_DEVICE_CX3022: device_set_desc(sc->fc.bdev, "SONY CX3022"); + break; + } + break; + case FW_VENDORID_VIA: + switch(pci_get_device(self)) { + case FW_DEVICE_VT6306: + device_set_desc(sc->fc.bdev, "VIA VT6306"); break; } break; ==> dmesg ACPI debug layer 0x0 debug level 0x0 Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT-20020219-JPSNAP #1: Sun Mar 10 15:05:32 JST 2002 kaz@milk.kobe1995.net:/mnt/ftp/pub/obj/usr/src/sys/KOBE5SMP Preloaded elf kernel "/boot/kernel/kernel" at 0xc04ed000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc04ed0a8. Preloaded elf module "/boot/kernel/bktr.ko" at 0xc04ed154. Preloaded elf module "/boot/kernel/bktr_mem.ko" at 0xc04ed200. Preloaded elf module "/boot/kernel/agp.ko" at 0xc04ed2b0. Timecounter "i8254" frequency 1192979 Hz CPU: AMD Athlon(tm) Processor (1327.19-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000 real memory = 268369920 (262080K bytes) avail memory = 256126976 (250124K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 1, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 bktr_mem: memory holder loaded Pentium Pro MTRR support enabled Using $PIR table, 268435454 entries at 0xc00fdf10 acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. acpi0: sleep button is handled as a fixed feature programming model. Timecounter "ACPI" frequency 3579545 Hz acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xdc000-0xdffff on acpi0 pci0: on acpi_pcib0 agp0: mem 0xf4003000-0xf4003fff,0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 amdpm0: port 0x8000-0x80ff at device 7.3 on pci0 amdsmb0: AMD 756 SMBus interface smbus0: on amdsmb0 smb0: on smbus0 ohci0: mem 0xdc000-0xdcfff irq 11 at device 7.4 on pci0 ohci_init: start usb0: OHCI version 1.0, legacy support ohci_init: SMM active, request owner change usb0: SMM does not respond, resetting usb0: resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered bktr0: mem 0xf4004000-0xf4004fff irq 11 at device 8.0 on pci0 bktr0: Pinnacle/Miro TV, Temic NTSC tuner. sis0: port 0x1000-0x10ff mem 0xf4001000-0xf4001fff irq 5 at device 9.0 on pci0 sis0: Ethernet address: 00:07:40:23:01:1e miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 10.0 (no driver attached) bt0: port 0x1814-0x1817 irq 11 at device 11.0 on pci0 bt0: BT-946C FW Rev. 4.25J Narrow SCSI Host Adapter, SCSI ID 7, 100 CCBs pci0: at device 13.0 (no driver attached) sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 npx0: on motherboard npx0: INT 16 interface ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it bt: bt0 already exists; skipping it ppc: ppc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 already exists; skipping it sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it orm0: