From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 15 18:17:33 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B972106566B; Tue, 15 Nov 2011 18:17:33 +0000 (UTC) (envelope-from schiro@hp.com) Received: from g5t0006.atlanta.hp.com (g5t0006.atlanta.hp.com [15.192.0.43]) by mx1.freebsd.org (Postfix) with ESMTP id F386C8FC0C; Tue, 15 Nov 2011 18:17:32 +0000 (UTC) Received: from G2W1953G.americas.hpqcorp.net (gvt0525.austin.hp.com [16.238.8.185]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g5t0006.atlanta.hp.com (Postfix) with ESMTPS id C88E6C0B7; Tue, 15 Nov 2011 17:58:13 +0000 (UTC) Received: from G4W3008G.americas.hpqcorp.net (16.234.25.124) by G2W1953G.americas.hpqcorp.net (16.238.8.185) with Microsoft SMTP Server (TLS) id 14.1.289.1; Tue, 15 Nov 2011 17:57:18 +0000 Received: from G4W3209.americas.hpqcorp.net ([169.254.5.206]) by G4W3008G.americas.hpqcorp.net ([16.234.25.124]) with mapi id 14.01.0289.001; Tue, 15 Nov 2011 17:57:18 +0000 From: "Schiro, Paul (LeftHand Networks)" To: "freebsd-drivers@freebsd.org" , "freebsd-hardware@freebsd.org" Thread-Topic: HP NC550 Thread-Index: AcyjwCuccROlTgdDThucxLIVwMYPFQ== Date: Tue, 15 Nov 2011 17:57:17 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.216.12.11] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: HP NC550 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2011 18:17:33 -0000 Hi all. I'm hoping to reach a FreeBSD developer that is interested in work= ing on a driver for the NC550SFP 10GbE dual-port SFP+ PCI-E adapter (its an= Emulex ServerEngines chipset). I'd like to donate one of these cards to s= omeone who's interested in working on it. Please include me directly on any responses, as I'm actually not on the lis= t and want to be sure to see them. Paul Schiro HP Storage Direct: 303.625.2471 Fax: 303.442.0965 schiro@hp.com LeftHand Networks, an HP Company Note: This email communication and any files transmitted with it may contai= n confidential and or proprietary information which is provided for the use= of the intended recipient only. Any review, retransmission, or disseminati= on of this information by anyone other than the intended recipient is prohi= bited. If you receive this email in error, please contact the sender and de= lete this communication and any copies of the content immediately. Thank yo= u. From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 15 22:56:40 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31A001065670 for ; Tue, 15 Nov 2011 22:56:40 +0000 (UTC) (envelope-from liuw@supermicro.com) Received: from filter.supermicro.com (mta1.supermicro.com [66.120.31.12]) by mx1.freebsd.org (Postfix) with ESMTP id 175DE8FC1B for ; Tue, 15 Nov 2011 22:56:39 +0000 (UTC) Received: from super-ca2 [66.120.31.171] by filter.supermicro.com - Websense Email Security (7.2.0); Tue, 15 Nov 2011 14:41:16 -0800 Received: from MAIL5.supermicro.com ([66.120.31.181]) by Super-CA2.supermicro.com ([66.120.31.171]) with mapi; Tue, 15 Nov 2011 14:41:09 -0800 From: Liu Wang To: "freebsd-drivers@freebsd.org" Date: Tue, 15 Nov 2011 14:41:09 -0800 Thread-Topic: where is "resource_list" defined ? Thread-Index: Acyj56tOvuKuQRv4SZCgIlIe/Xvh3w== Message-ID: <09F85D53A2F0C547BF5E05E214DB880A23C8BDBCA2@MAIL5.supermicro.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-SEF-Processed: 7_2_0_00499__2011_11_15_14_41_16 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: where is "resource_list" defined ? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2011 22:56:40 -0000 Sir./Madam, Appreciate any help here. The project is to port our PCIe controller card to FreeBSD from Linux. When porting Linux function "pci_request_regions()" to FreeBSD we met the c= ompiling error "error: dereferencing pointer to incomplete type" at the c s= entences of "rl =3D &dinfo->resources;" in the following code segment. "make depend" has been launched in kernel level and doesn't help. Local type casting has been tried and doesn't help either. Looks we go astray the PCIe porting methodology in FreeBSD. Sincerely, Liu /*---------------------------- * * AOC_main.c * * x8 PCIe controller driver ---------------------------*/ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define VENDOR_ID 0x1b4b #define MAX_REQUEST_NUMBER_PERFORMANCE 4096 struct AOC_softc { device_t AOC_dev; struct cdev *AOC_cdev; }; static int AOC_pci_request_regions( struct device *dev, const char *res_nam= e ) { int i,j; int rid; int bar; struct resource_list_entry *rle; struct pci_devinfo *dinfo; struct resource_list *rl=3DNULL; for ( i =3D 0; i <=3D PCIR_MAX_BAR_0; i++ ) { bar =3D PCIR_BAR( i ); dinfo =3D dev->ivars; rl =3D &dinfo->resources; rle =3D resource_list_find( rl, SYS_RES_MEMORY, i ); if( rle =3D=3D NULL ) { dinfo =3D device_get_ivars(dev); rl =3D &dinfo->resources; rle =3D resource_list_find( rl, SYS_RES_IOPORT, i ); }; if( rle =3D=3D NULL ) return (-ENODEV); rid =3D PCIR_BAR( i ); if (bus_alloc_resource_any(dev, rle->type, &rid, RF_ACTIVE) =3D=3D NULL= ) { for (j =3D 0; j <=3D PCIR_MAX_BAR_0; j++) { { bar =3D PCIR_BAR( bar ); { dinfo =3D device_get_ivars( dev ); rle =3D resource_list_find( rl, SYS_RES_MEMORY, j ); }; if ( rle =3D=3D NULL ) { dinfo =3D device_get_ivars( dev ); rl =3D &dinfo->resources; rle =3D resource_list_find( rl, SYS_RES_IOPORT, i ); }; }; if (rle =3D=3D NULL) bus_release_resource(dev, rle->type, rle->rid, rle->res); }; return (-EINVAL); }; } return (0); }; static int AOC_probe( device_t dev ) { device_printf( dev, "AOC Probe\nVendor ID : 0x%x\nDevice ID : 0x%x\n", pc= i_get_vendor( dev ), pci_get_device( dev ) ); if ( pci_get_vendor( dev ) =3D=3D VENDOR_ID ) { printf( "AOC probe successful !\n" ); device_set_desc( dev, "AOC"); pci_enable_io( dev, SYS_RES_IOPORT ); pci_enable_io( dev, SYS_RES_MEMORY ); AOC_pci_request_regions(dev, "AOC"); ... ... }; From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 15 23:54:58 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9040106566B for ; Tue, 15 Nov 2011 23:54:58 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate.funkthat.com [70.36.235.232]) by mx1.freebsd.org (Postfix) with ESMTP id 96DF48FC0C for ; Tue, 15 Nov 2011 23:54:58 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id pAFNswKq036343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2011 15:54:58 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id pAFNswZ5036342; Tue, 15 Nov 2011 15:54:58 -0800 (PST) (envelope-from jmg) Date: Tue, 15 Nov 2011 15:54:57 -0800 From: John-Mark Gurney To: Liu Wang Message-ID: <20111115235457.GY25601@funkthat.com> Mail-Followup-To: Liu Wang , "freebsd-drivers@freebsd.org" References: <09F85D53A2F0C547BF5E05E214DB880A23C8BDBCA2@MAIL5.supermicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <09F85D53A2F0C547BF5E05E214DB880A23C8BDBCA2@MAIL5.supermicro.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 15 Nov 2011 15:54:58 -0800 (PST) Cc: "freebsd-drivers@freebsd.org" Subject: Re: where is "resource_list" defined ? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2011 23:54:58 -0000 Liu Wang wrote this message on Tue, Nov 15, 2011 at 14:41 -0800: > Appreciate any help here. > > The project is to port our PCIe controller card to FreeBSD from Linux. > When porting Linux function "pci_request_regions()" to FreeBSD we met the compiling error "error: dereferencing pointer to incomplete type" at the c sentences of "rl = &dinfo->resources;" in the following code segment. This is because you don't access the PCI(e) information like that... You should just use bus_alloc_resource_any(9), and not try to grok the pci resource information directly... There is also a function bus_alloc_resources (we don't appear to have a man page for it) which is used to allocate multiple resources, and properly release them if any of them fail... Take a look at sys/dev/sis/if_sis.c for an example of bus_alloc_resources... Feel free to look at another driver for some examples on how to do this... Or look in the FreeBSD Architecture Handbook: http://www.freebsd.org/doc/en/books/arch-handbook/pci.html Though that doesn't contain information on how to allocate resources... In the directory /usr/share/examples/drivers, there is a README and a script on creating a device driver, but it is targeted at ISA, but the calls are similar... Also, I did a presentation a number of years back on writing FreeBSD device drivers, and posted the slides and links to source at: http://people.freebsd.org/~jmg/drivers/ Most of the information is still valid, but one major change is that to support systems w/ multiple PCI domains, we have added a bus_get_dma_tag function... This gets the parent bus's dma tag to apply additional restrictions (like boundary) to the transfers and to be able to properly handle IOMMU's on systems that have them (sparc64)... > "make depend" has been launched in kernel level and doesn't help. > > Local type casting has been tried and doesn't help either. > > Looks we go astray the PCIe porting methodology in FreeBSD. I have some comments down below... Good luck, if you have more questions, feel free to ask... > /*---------------------------- > * > * AOC_main.c > * > * x8 PCIe controller driver > ---------------------------*/ > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > > #include > #include > #include > #include > #include > #include > #include > #include > #include > #define VENDOR_ID 0x1b4b > #define MAX_REQUEST_NUMBER_PERFORMANCE 4096 > > > struct AOC_softc > { > device_t AOC_dev; > struct cdev *AOC_cdev; > }; > > static int AOC_pci_request_regions( struct device *dev, const char *res_name ) > { > int i,j; > int rid; > int bar; > struct resource_list_entry *rle; > struct pci_devinfo *dinfo; > struct resource_list *rl=NULL; > > for ( i = 0; i <= PCIR_MAX_BAR_0; i++ ) > { > bar = PCIR_BAR( i ); > dinfo = dev->ivars; Don't do this.. use the ivars accessor methods... The following code isn't nedded: > rl = &dinfo->resources; > rle = resource_list_find( rl, SYS_RES_MEMORY, i ); > if( rle == NULL ) > { > dinfo = device_get_ivars(dev); > rl = &dinfo->resources; > rle = resource_list_find( rl, SYS_RES_IOPORT, i ); > }; > if( rle == NULL ) > return (-ENODEV); > rid = PCIR_BAR( i ); If you are using _any, just set the type to what you want, SYS_RES_MEMORY or SYS_RES_IRQ, and the value pointed to rid to the BAR offset or IRQ number, something like: rid = 0x10; > if (bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE) == NULL) > if (bus_alloc_resource_any(dev, rle->type, &rid, RF_ACTIVE) == NULL) > { This code is also unnecessary: > for (j = 0; j <= PCIR_MAX_BAR_0; j++) > { > { > bar = PCIR_BAR( bar ); > { > dinfo = device_get_ivars( dev ); > rle = resource_list_find( rl, SYS_RES_MEMORY, j ); > }; > if ( rle == NULL ) > { > dinfo = device_get_ivars( dev ); > rl = &dinfo->resources; > rle = resource_list_find( rl, SYS_RES_IOPORT, i ); > }; > }; > if (rle == NULL) > bus_release_resource(dev, rle->type, rle->rid, rle->res); > }; > return (-EINVAL); > }; > } > return (0); > }; > > static int AOC_probe( device_t dev ) > { > device_printf( dev, "AOC Probe\nVendor ID : 0x%x\nDevice ID : 0x%x\n", pci_get_vendor( dev ), pci_get_device( dev ) ); > if ( pci_get_vendor( dev ) == VENDOR_ID ) > { > printf( "AOC probe successful !\n" ); > device_set_desc( dev, "AOC"); > > pci_enable_io( dev, SYS_RES_IOPORT ); > pci_enable_io( dev, SYS_RES_MEMORY ); > > AOC_pci_request_regions(dev, "AOC"); > ... > ... > }; -- John-Mark Gurney Voice: +1 415 225 5579 P "All that I will do, has been done, All that I have, has not." From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 16 00:01:05 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C825C106564A for ; Wed, 16 Nov 2011 00:01:05 +0000 (UTC) (envelope-from liuw@supermicro.com) Received: from mta2.supermicro.com (mta2.supermicro.com [66.120.31.11]) by mx1.freebsd.org (Postfix) with ESMTP id AF3B28FC13 for ; Wed, 16 Nov 2011 00:01:05 +0000 (UTC) Received: from super-ca2 [66.120.31.171] by mta2 - Websense Email Security (7.2.0); Tue, 15 Nov 2011 16:01:03 -0800 Received: from MAIL5.supermicro.com ([66.120.31.181]) by Super-CA2.supermicro.com ([66.120.31.171]) with mapi; Tue, 15 Nov 2011 16:01:02 -0800 From: Liu Wang To: John-Mark Gurney Date: Tue, 15 Nov 2011 16:01:02 -0800 Thread-Topic: where is "resource_list" defined ? Thread-Index: Acyj8fy9G3VtpcB5T4Kp0nFUz+nj8wAAH0ww Message-ID: <09F85D53A2F0C547BF5E05E214DB880A23C8BDBDEE@MAIL5.supermicro.com> References: <09F85D53A2F0C547BF5E05E214DB880A23C8BDBCA2@MAIL5.supermicro.com> <20111115235457.GY25601@funkthat.com> In-Reply-To: <20111115235457.GY25601@funkthat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SEF-Processed: 7_2_0_00504__2011_11_15_16_01_03 Cc: "freebsd-drivers@freebsd.org" Subject: RE: where is "resource_list" defined ? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2011 00:01:05 -0000 John-Mark Gurney, Appreciate the help buddy. Will do accordingly. Sincerely, Liu Wang -----Original Message----- From: John-Mark Gurney [mailto:jmg@funkthat.com]=20 Sent: Tuesday, November 15, 2011 3:55 PM To: Liu Wang Cc: freebsd-drivers@freebsd.org Subject: Re: where is "resource_list" defined ? Liu Wang wrote this message on Tue, Nov 15, 2011 at 14:41 -0800: > Appreciate any help here. >=20 > The project is to port our PCIe controller card to FreeBSD from Linux. > When porting Linux function "pci_request_regions()" to FreeBSD we met the= compiling error "error: dereferencing pointer to incomplete type" at the c= sentences of "rl =3D &dinfo->resources;" in the following code segment. This is because you don't access the PCI(e) information like that... You should just use bus_alloc_resource_any(9), and not try to grok the pci resource information directly... There is also a function bus_alloc_resources (we don't appear to have a man page for it) which is used to allocate multiple resources, and properly release them if any of them fail... Take a look at sys/dev/sis/if_sis.c for an example of bus_alloc_resources... Feel free to look at another driver for some examples on how to do this... Or look in the FreeBSD Architecture Handbook: http://www.freebsd.org/doc/en/books/arch-handbook/pci.html Though that doesn't contain information on how to allocate resources... In the directory /usr/share/examples/drivers, there is a README and a script on creating a device driver, but it is targeted at ISA, but the calls are similar... Also, I did a presentation a number of years back on writing FreeBSD device drivers, and posted the slides and links to source at: http://people.freebsd.org/~jmg/drivers/ Most of the information is still valid, but one major change is that to support systems w/ multiple PCI domains, we have added a bus_get_dma_tag function... This gets the parent bus's dma tag to apply additional restrictions (like boundary) to the transfers and to be able to properly handle IOMMU's on systems that have them (sparc64)... > "make depend" has been launched in kernel level and doesn't help. >=20 > Local type casting has been tried and doesn't help either. >=20 > Looks we go astray the PCIe porting methodology in FreeBSD. I have some comments down below... Good luck, if you have more questions, feel free to ask... > /*---------------------------- > * > * AOC_main.c > * > * x8 PCIe controller driver > ---------------------------*/ > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include >=20 > #include > #include > #include > #include > #include > #include > #include > #include > #include > #define VENDOR_ID 0x1b4b > #define MAX_REQUEST_NUMBER_PERFORMANCE 4096 >=20 >=20 > struct AOC_softc > { > device_t AOC_dev; > struct cdev *AOC_cdev; > }; >=20 > static int AOC_pci_request_regions( struct device *dev, const char *res_n= ame ) > { > int i,j; > int rid; > int bar; > struct resource_list_entry *rle; > struct pci_devinfo *dinfo; > struct resource_list *rl=3DNULL; >=20 > for ( i =3D 0; i <=3D PCIR_MAX_BAR_0; i++ ) > { > bar =3D PCIR_BAR( i ); > dinfo =3D dev->ivars; Don't do this.. use the ivars accessor methods... The following code isn't nedded: > rl =3D &dinfo->resources; > rle =3D resource_list_find( rl, SYS_RES_MEMORY, i ); > if( rle =3D=3D NULL ) > { > dinfo =3D device_get_ivars(dev); > rl =3D &dinfo->resources; > rle =3D resource_list_find( rl, SYS_RES_IOPORT, i ); > }; > if( rle =3D=3D NULL ) > return (-ENODEV); > rid =3D PCIR_BAR( i ); If you are using _any, just set the type to what you want, SYS_RES_MEMORY or SYS_RES_IRQ, and the value pointed to rid to the BAR offset or IRQ numbe= r, something like: rid =3D 0x10; > if (bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE) =3D= =3D NULL) > if (bus_alloc_resource_any(dev, rle->type, &rid, RF_ACTIVE) =3D=3D NU= LL) > { This code is also unnecessary: > for (j =3D 0; j <=3D PCIR_MAX_BAR_0; j++) > { > { > bar =3D PCIR_BAR( bar ); > { > dinfo =3D device_get_ivars( dev ); > rle =3D resource_list_find( rl, SYS_RES_MEMORY, j ); > }; > if ( rle =3D=3D NULL ) > { > dinfo =3D device_get_ivars( dev ); > rl =3D &dinfo->resources; > rle =3D resource_list_find( rl, SYS_RES_IOPORT, i ); > }; > }; > if (rle =3D=3D NULL) > bus_release_resource(dev, rle->type, rle->rid, rle->res); > }; > return (-EINVAL); > }; > } > return (0); > }; >=20 > static int AOC_probe( device_t dev ) > { > device_printf( dev, "AOC Probe\nVendor ID : 0x%x\nDevice ID : 0x%x\n", = pci_get_vendor( dev ), pci_get_device( dev ) ); > if ( pci_get_vendor( dev ) =3D=3D VENDOR_ID ) > { > printf( "AOC probe successful !\n" ); > device_set_desc( dev, "AOC"); >=20 > pci_enable_io( dev, SYS_RES_IOPORT ); > pci_enable_io( dev, SYS_RES_MEMORY ); >=20 > AOC_pci_request_regions(dev, "AOC"); > ... > ... > }; --=20 John-Mark Gurney Voice: +1 415 225 5579 P "All that I will do, has been done, All that I have, has not." From owner-freebsd-drivers@FreeBSD.ORG Thu Nov 17 02:02:06 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B192B1065674 for ; Thu, 17 Nov 2011 02:02:06 +0000 (UTC) (envelope-from linuxfreaker@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB398FC18 for ; Thu, 17 Nov 2011 02:02:02 +0000 (UTC) Received: by wyf23 with SMTP id 23so1860553wyf.13 for ; Wed, 16 Nov 2011 18:02:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=smQepdabgrfQUgjJZmsTfVFtezbHcC+Bl4bl57xYOn4=; b=n2hJkyENmtkFoQd7OGQH372TMOD38qlAjaqLWtRh+w2focSVabvHsfyFgzDytCMS1S 1dShqhV+nOsZvZ3r/nkqTNxMyEK6xPM6Nqfdh62oCKCmb5DWMGur6rsssqafk4dBUqMJ 7qXo7wwhN1ugpNVxx6pLG85c58nuExE8ZPYBg= MIME-Version: 1.0 Received: by 10.52.90.228 with SMTP id bz4mr53478455vdb.74.1321493529330; Wed, 16 Nov 2011 17:32:09 -0800 (PST) Received: by 10.52.187.201 with HTTP; Wed, 16 Nov 2011 17:32:09 -0800 (PST) Date: Thu, 17 Nov 2011 07:02:09 +0530 Message-ID: From: linux freaker To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: FreeBSD driver for MegaRAID 9240-8i X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2011 02:02:06 -0000 Hi, I am trying to install FreeBSD 8.x, 91. RC1 on MegaRAID SAS 9240-4i and 9240-8i but it says "No hard disk found".May I know where can I download the drivers? How shall I work with that installation? From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 18 12:47:30 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 372B0106564A for ; Fri, 18 Nov 2011 12:47:30 +0000 (UTC) (envelope-from glaszig@googlemail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id E8EF18FC0C for ; Fri, 18 Nov 2011 12:47:29 +0000 (UTC) Received: by yenl11 with SMTP id l11so3571643yen.13 for ; Fri, 18 Nov 2011 04:47:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+Dp0z26EdhYZYWcIW0ycueS/hSg/JesxdHvU+56d52M=; b=etSZer1Qvygu10iroUdL2rHTIQqHy8BMj6Ax5pblJgi0p+ZcJpTKk+pcxo8sD9WEmN qMvNRHPpeg9QLfpfQ57C94rKTwMoGPUp5o+zNvmaA/M8mXBlE/1A1yFdsTB7jDCpvqDg 5P9Rz+VKonnqg2J7abesH52JnLKVTBjs1GGb0= MIME-Version: 1.0 Received: by 10.50.242.103 with SMTP id wp7mr3162202igc.21.1321620449143; Fri, 18 Nov 2011 04:47:29 -0800 (PST) Received: by 10.42.142.6 with HTTP; Fri, 18 Nov 2011 04:47:28 -0800 (PST) In-Reply-To: References: Date: Fri, 18 Nov 2011 13:47:28 +0100 Message-ID: From: =?ISO-8859-1?Q?Martin_Gla=DF?= To: linux freaker Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-drivers@freebsd.org Subject: Re: FreeBSD driver for MegaRAID 9240-8i X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2011 12:47:30 -0000 check this out. they have drivers for 6.x and 7.x. http://kb.lsi.com/Download15873.aspx you may also find useful information about the progress of native driver implementation in the following thread: http://forums.freebsd.org/archive/index.php/t-4505.html 2011/11/17 linux freaker > Hi, > > I am trying to install FreeBSD 8.x, 91. RC1 on MegaRAID SAS 9240-4i > and 9240-8i but it says "No hard disk found".May I know where can I > download the drivers? How shall I work with that installation? > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org= " > --=20 martin gla=DF web & cocoa developer with passion based in berlin / germany glaszig@gmail.com