From owner-freebsd-mips@FreeBSD.ORG Wed Feb 17 21:45:56 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 871C51065698 for ; Wed, 17 Feb 2010 21:45:56 +0000 (UTC) (envelope-from smeagle@bsdler.de) Received: from hell.bsdler.de (hell-fe0.v6.bsdler.de [IPv6:2001:780:0:19::1]) by mx1.freebsd.org (Postfix) with ESMTP id 35F5B8FC13 for ; Wed, 17 Feb 2010 21:45:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hell.bsdler.de (Postfix) with ESMTP id 8F6EAB873 for ; Wed, 17 Feb 2010 22:45:55 +0100 (CET) X-Virus-Scanned: amavisd-new at bsdler.de Received: from hell.bsdler.de ([127.0.0.1]) by localhost (hell.bsdler.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JcV+qmHx+k1D for ; Wed, 17 Feb 2010 22:45:50 +0100 (CET) Received: from kiste.lan.terror.local (p4FF0B265.dip.t-dialin.net [79.240.178.101]) by hell.bsdler.de (Postfix) with ESMTPSA id AEE40B872 for ; Wed, 17 Feb 2010 22:45:50 +0100 (CET) Received: from [172.17.21.80] (brain.lan.terror.local [172.17.21.80]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by kiste.lan.terror.local (Postfix) with ESMTPS id 0F2FC535B7 for ; Wed, 17 Feb 2010 22:45:50 +0100 (CET) From: Florian Kruegl To: freebsd-mips@freebsd.org Content-Type: text/plain; charset="ASCII" Date: Wed, 17 Feb 2010 22:43:19 +0100 Message-ID: <1266442999.2149.42.camel@brain.lan.terror.local> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: hifn support X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: smeagle@bsdler.de List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 21:45:56 -0000 Hi, got hands on a hifn, think it's a nice possibility to check the performance of the interrupt handler :) Was more than puzzled when I saw it didn't generate any... =================================================================== hifn1 irq 0 at device 17.0 on pci0 hifn1: [ITHREAD] hifn1: Hifn 7955, rev 0, 32KB dram, pll=0x801 =================================================================== =================================================================== goofy# vmstat -i interrupt total rate int1 ehci0 31698 0 int3 arge1 4697 0 int4 apb0 575704 2 int5 clock0 241115996 999 apb intr3: uart0 575702 2 apb intr6: ohci0 2 0 Total 242303799 1004 =================================================================== pciconf doesn't look too bad =================================================================== goofy# pciconf -lv none0@pci0:0:0:0: class=0x000000 card=0x00000000 chip=0x11070700 rev=0x01 hdr=0x00 vendor = 'Stream Machine' class = old subclass = non-VGA display device hifn1@pci0:0:17:0: class=0x0b4000 card=0x00000000 chip=0x002013a3 rev=0x00 hdr=0x00 vendor = 'HI-FN Inc.' device = '7955 Security Processor' class = processor =================================================================== openssl doesn't show support either: =================================================================== goofy# openssl engine -vvv (cryptodev) BSD cryptodev engine (dynamic) Dynamic engine loading support SO_PATH: Specifies the path to the new ENGINE shared library (input flags): STRING NO_VCHECK: Specifies to continue even if version checking fails (boolean) (input flags): NUMERIC ID: Specifies an ENGINE id name for loading (input flags): STRING LIST_ADD: Whether to add a loaded ENGINE to the internal list (0=no,1=yes,2=mandatory) (input flags): NUMERIC DIR_LOAD: Specifies whether to load from 'DIR_ADD' directories (0=no,1=yes,2=mandatory) (input flags): NUMERIC DIR_ADD: Adds a directory from which ENGINEs can be loaded (input flags): STRING LOAD: Load up the ENGINE specified by other settings (input flags): NO_INPUT =================================================================== no interrupts no functionality, now I wonder if this driver is broken, or if I should try to specify some interrupts via hints file. I already tried a few but the only change was that I now got hifn1 instead of hifn0. So I guess they were the wrong ones. Flo