From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 09:25:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53ACA16A4CE; Mon, 24 Jan 2005 09:25:55 +0000 (GMT) Received: from mailhost.catholic.org (mailhost.catholic.org [66.122.14.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC21743D1D; Mon, 24 Jan 2005 09:25:54 +0000 (GMT) (envelope-from wsk@catholic.org) Received: from webmail.catholic.org (webmail.catholic.org [66.122.14.27]) j0O9Pqh6024422; Mon, 24 Jan 2005 01:25:52 -0800 Received: from 211.96.21.195 (SquirrelMail authenticated user wsk) by webmail.catholic.org with HTTP; Mon, 24 Jan 2005 09:25:52 -0000 (GMT) Message-ID: <57062.211.96.21.195.1106558752.squirrel@webmail.catholic.org> Date: Mon, 24 Jan 2005 09:25:52 -0000 (GMT) From: "wsk" To: current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: support@comtrol.com cc: stable@freebsd.org cc: questions@freebsd.org Subject: Rocketport uPCI ioaddr mapping failed under FreeBSD-5.3&CURRENT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 09:25:55 -0000 hi,folks: after installed RocketPort uPCI card into my box;it dumps the follow eror msgs: rp0: port 0xde00-0xdeff,0xdd80-0xddff mem 0xfcedff80-0xfcedffff irq 19 at device 10.0 on pci2 rp0: failed: rid 0x10 is memory, requested 4 rp0: ioaddr mapping failed for RocketPort(PCI). device_attach: rp0 attach returned 6 and pciconfig the rp0: rp0@pci2:10:0: class=0x078000 card=0x080511fe chip=0x080511fe rev=0x01 hdr=0x00 vendor = 'Comtrol Corp' class = simple comms and downloaded the 1800255A file and follwed the README from www.comtrol.com. During the buildkernel, I got errors: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../dev/rp/rp.c ../../../dev/rp/rp.c: In function `rp_do_receive': ../../../dev/rp/rp.c:772: error: request for member `l_rint' in something not a structure or union ../../../dev/rp/rp.c:820: error: request for member `l_rint' in something not a structure or union ../../../dev/rp/rp.c: In function `rp_handle_port': ../../../dev/rp/rp.c:850: error: request for member `l_modem' in something not a structure or union ../../../dev/rp/rp.c:854: error: request for member `l_modem' in something not a structure or union ../../../dev/rp/rp.c:855: error: request for member `l_modem' in something not a structure or union ../../../dev/rp/rp.c: In function `rp_do_poll': ../../../dev/rp/rp.c:903: error: request for member `l_start' in something not a structure or union ../../../dev/rp/rp.c: In function `rp_attachcommon': ../../../dev/rp/rp.c:982: warning: assignment makes integer from pointer without a cast ../../../dev/rp/rp.c:985: warning: assignment makes integer from pointer without a cast ../../../dev/rp/rp.c:988: warning: assignment makes integer from pointer without a cast ../../../dev/rp/rp.c:991: warning: assignment makes integer from pointer without a cast ../../../dev/rp/rp.c:994: warning: assignment makes integer from pointer without a cast ../../../dev/rp/rp.c:997: warning: assignment makes integer from pointer without a cast ../../../dev/rp/rp.c: In function `rp_releaseresource': ../../../dev/rp/rp.c:1077: warning: passing arg 1 of `destroy_dev' makes pointer from integer without a cast ../../../dev/rp/rp.c: In function `rpopen': ../../../dev/rp/rp.c:1088: error: argument "dev" doesn't match prototype ../../../dev/rp/rp.c:672: error: prototype declaration ../../../dev/rp/rp.c:1096: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1097: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1102: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1108: error: invalid type argument of `->' ../../../dev/rp/rp.c:1120: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1145: warning: assignment makes pointer from integer without a cast ../../../dev/rp/rp.c:1150: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1200: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1201: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1202: error: request for member `l_modem' in something not a structure or union ../../../dev/rp/rp.c:1212: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1221: error: request for member `l_open' in something not a structure or union ../../../dev/rp/rp.c:1224: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c: In function `rpclose': ../../../dev/rp/rp.c:1246: error: argument "dev" doesn't match prototype ../../../dev/rp/rp.c:673: error: prototype declaration ../../../dev/rp/rp.c:1252: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1253: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1257: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1264: error: request for member `l_close' in something not a structure or union ../../../dev/rp/rp.c:1271: warning: implicit declaration of function `ttyclose' ../../../dev/rp/rp.c:1271: warning: nested extern declaration of `ttyclose' ../../../dev/rp/rp.c: In function `rpread': ../../../dev/rp/rp.c:1321: error: argument "dev" doesn't match prototype ../../../dev/rp/rp.c:676: error: prototype declaration ../../../dev/rp/rp.c:1326: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1327: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1331: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1335: error: request for member `l_read' in something not a structure or union ../../../dev/rp/rp.c: In function `rpwrite': ../../../dev/rp/rp.c:1345: error: argument "dev" doesn't match prototype ../../../dev/rp/rp.c:674: error: prototype declaration ../../../dev/rp/rp.c:1351: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1352: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1356: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1367: error: request for member `l_write' in something not a structure or union ../../../dev/rp/rp.c: In function `rpioctl': ../../../dev/rp/rp.c:1388: error: argument "dev" doesn't match prototype ../../../dev/rp/rp.c:675: error: prototype declaration ../../../dev/rp/rp.c:1403: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1404: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1410: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1413: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1415: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1418: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1460: warning: passing arg 1 of `minor' makes pointer from integer without a cast ../../../dev/rp/rp.c:1482: error: request for member `l_ioctl' in something not a structure or union ../../../dev/rp/rp.c: In function `rp_disc_optim': ../../../dev/rp/rp.c:1763: error: request for member `l_rint' in something not a structure or union ../../../dev/rp/rp.c: At top level: ../../../dev/rp/rp.c:2364: error: syntax error before "rp_pci_mod" ../../../dev/rp/rp.c:2364: warning: type defaults to `int' in declaration of `rp_pci_mod' ../../../dev/rp/rp.c:2364: warning: initialization makes integer from pointer without a cast ../../../dev/rp/rp.c:2364: warning: excess elements in scalar initializer ../../../dev/rp/rp.c:2364: warning: (near initialization for `rp_pci_mod') ../../../dev/rp/rp.c:2364: warning: excess elements in scalar initializer ../../../dev/rp/rp.c:2364: warning: (near initialization for `rp_pci_mod') ../../../dev/rp/rp.c:2364: warning: data definition has no type or storage class../../../dev/rp/rp.c:2364: warning: type defaults to `int' in declaration of `DECLARE_MODULE' ../../../dev/rp/rp.c:2364: warning: parameter names (without types) in function declaration ../../../dev/rp/rp.c:2364: warning: data definition has no type or storage class../../../dev/rp/rp.c:2809: error: syntax error before "rp_isa_mod" ../../../dev/rp/rp.c:2809: warning: type defaults to `int' in declaration of `rp_isa_mod' ../../../dev/rp/rp.c:2809: warning: initialization makes integer from pointer without a cast ../../../dev/rp/rp.c:2809: warning: excess elements in scalar initializer ../../../dev/rp/rp.c:2809: warning: (near initialization for `rp_isa_mod') ../../../dev/rp/rp.c:2809: warning: excess elements in scalar initializer ../../../dev/rp/rp.c:2809: warning: (near initialization for `rp_isa_mod') ../../../dev/rp/rp.c:2809: warning: data definition has no type or storage class../../../dev/rp/rp.c:2809: warning: type defaults to `int' in declaration of `DECLARE_MODULE' ../../../dev/rp/rp.c:2809: warning: parameter names (without types) in function declaration ../../../dev/rp/rp.c:2809: warning: redundant redeclaration of 'DECLARE_MODULE' ../../../dev/rp/rp.c:2364: warning: previous declaration of 'DECLARE_MODULE' was here ../../../dev/rp/rp.c:2809: warning: data definition has no type or storage class*** Error code 1 Stop in /usr/src/sys/i386/compile/WSK. thinks in any Re with appresiates! ----------------------------------------- This email was sent using FREE Catholic Online Webmail! http://webmail.catholic.org/