Date: Fri, 20 Sep 2002 15:09:37 +0000 (GMT) From: attila! <attila@hun.org> To: David O'Brien <obrien@freebsd.org> Cc: FreeBSD-CURRENT <current@freebsd.org> Subject: Re: TekRam 395U[W] series SCSI controllers for CURRENT Message-ID: <20020920150937.5jhv89306@hun.org> In-Reply-To: <20020917033905.GA4325@dragon.nuxi.com> References: <20020917001714.YvSr72430@hun.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sent: Mon, 16 Sep 2002 20:39:05 -0700 by David O'Brien + + On Tue, Sep 17, 2002 at 12:17:14AM +0000, attila! wrote: + > + > The price is right on the 395U[W]: $41/52 and it is + > their newer series which uses a "TekRam 1040" chip. + > Has anyone used it on CURRENT --and is it supported? + + There is support, but the driver has never been committed to FreeBSD. I + was willing to shepard it into the tree, but never could get my hands on + a 395 controller. + + ftp://ftp.tekram.com/SCSI/3X5/FreeBSD/FreeBSD400/dc395x_trm.tar.gz + Well, a DC395U landed on my desk yesterday from CDW for $42. The readme file in the same directory as the driver components is rather straight forward. Ergo-- I: a) added to hun's config file: device trm b) added to sys/conf/files: pci/dc395x_trm.c optional trm c) added to sys/pci: dc395x_trm.[ch] and said: go for it! Well, the compiler sang the blues and spit out a litany of errors (following) I'm running a Tyan 2642 SMP dual 1.2G Athlon with two 160 SCSIs on the B channel of the dual onboard Adaptec AIC (ahc) controller. The controller at boot shows my slow DVD-RAM etc on the A bus but the ahc driver lost the A channel somewhere before the 20 Feb 02 version; it worked before that. You can not put the slow devices on the same channel as the 160s or the 160s run at the slow rate. I had hoped a cheap Tekram 395U would give me an easy solution rather than the $200+ Adaptec. where do we go from here? ---- error messages compiling kernel 5.0-CURRENT 1800 15 Sep 02 ---- this was run with -DNO_WERROR... In file included from /usr/src/sys/pci/dc395x_trm.c:70: /usr/src/sys/sys/buf.h:102: field `b_io' has incomplete type /usr/src/sys/pci/dc395x_trm.c:143: syntax error before "tag" cc1: warnings being treated as errors /usr/src/sys/pci/dc395x_trm.c:143: warning: function declaration isn't a prototype /usr/src/sys/pci/dc395x_trm.c:144: syntax error before "tag" /usr/src/sys/pci/dc395x_trm.c:144: warning: function declaration isn't a prototype /usr/src/sys/pci/dc395x_trm.c:149: syntax error before "pcici_t" /usr/src/sys/pci/dc395x_trm.c:149: warning: function declaration isn't a prototype /usr/src/sys/pci/dc395x_trm.c:168: variable `dc395x_trm_device' has initializer but incomplete type /usr/src/sys/pci/dc395x_trm.c:169: warning: excess elements in struct initializer /usr/src/sys/pci/dc395x_trm.c:169: warning: (near initialization for `dc395x_trm_device') /usr/src/sys/pci/dc395x_trm.c:170: warning: excess elements in struct initializer /usr/src/sys/pci/dc395x_trm.c:170: warning: (near initialization for `dc395x_trm_device') /usr/src/sys/pci/dc395x_trm.c:171: warning: excess elements in struct initializer /usr/src/sys/pci/dc395x_trm.c:171: warning: (near initialization for `dc395x_trm_device') /usr/src/sys/pci/dc395x_trm.c:172: warning: excess elements in struct initializer /usr/src/sys/pci/dc395x_trm.c:172: warning: (near initialization for `dc395x_trm_device') /usr/src/sys/pci/dc395x_trm.c:174: warning: excess elements in struct initializer /usr/src/sys/pci/dc395x_trm.c:174: warning: (near initialization for `dc395x_trm_device') /usr/src/sys/pci/dc395x_trm.c:4662: syntax error before "pcici_t" /usr/src/sys/pci/dc395x_trm.c:4663: warning: function declaration isn't a prototype /usr/src/sys/pci/dc395x_trm.c: In function `DC395x_trm_initAdapter': /usr/src/sys/pci/dc395x_trm.c:4668: `unit' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c:4668: (Each undeclared identifier is reported only once /usr/src/sys/pci/dc395x_trm.c:4668: for each function it appears in.) /usr/src/sys/pci/dc395x_trm.c:4671: `pACB' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c: At top level: /usr/src/sys/pci/dc395x_trm.c:4727: syntax error before "pcici_t" /usr/src/sys/pci/dc395x_trm.c:4728: warning: function declaration isn't a prototype /usr/src/sys/pci/dc395x_trm.c: In function `DC395x_trm_init': /usr/src/sys/pci/dc395x_trm.c:4735: `unit' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c:4740: warning: implicit declaration of function `pci_conf_read' /usr/src/sys/pci/dc395x_trm.c:4740: `pci_config_id' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c:4740: `PCI_MAP_REG_START' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c: At top level: /usr/src/sys/pci/dc395x_trm.c:4778: syntax error before "pci_config_id" /usr/src/sys/pci/dc395x_trm.c:4779: warning: function declaration isn't a prototype /usr/src/sys/pci/dc395x_trm.c: In function `DC395x_trm_attach': /usr/src/sys/pci/dc395x_trm.c:4799: `pci_config_id' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c:4799: `PCI_ID_REG' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c:4809: `unit' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c:4820: warning: implicit declaration of function `pci_map_int' /usr/src/sys/pci/dc395x_trm.c:4820: `cam_imask' undeclared (first use in this function) /usr/src/sys/pci/dc395x_trm.c: At top level: /usr/src/sys/pci/dc395x_trm.c:4906: syntax error before "tag" /usr/src/sys/pci/dc395x_trm.c:4907: warning: function declaration isn't a prototype /usr/src/sys/pci/dc395x_trm.c: In function `DC395x_trm_probe': /usr/src/sys/pci/dc395x_trm.c:4908: `type' undeclared (first use in this function) /usr/src/sys/cam/cam_queue.h: At top level: /usr/src/sys/pci/dc395x_trm.c:168: storage size of `dc395x_trm_device' isn't known To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920150937.5jhv89306>