Are there known problems with this device? I can't get it to work because the driver fails in puc_pci_attach() when allocating resources at res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0ul, ~0ul, 1, RF_ACTIVE); As this is a pci device and the I/O ports are not used by another hardware piece, why does bus_alloc_resource() returns NULL here?
This is on a 4.10 system but I tried to boot with a 5.3 kernel and the behavior is the same. Jean-Marc Copyright (c) 1992-2004 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 4.10-RELEASE #30: Wed Dec 1 23:12:23 CET 2004 [EMAIL PROTECTED]:/u4/src/sys/compile/GW Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 800033013 Hz CPU: AMD Duron(tm) Processor (800.03-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x631 Stepping = 1 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!> real memory = 134217728 (131072K bytes) avail memory = 126644224 (123676K bytes) Preloaded elf kernel "kernel.new" at 0xc03f5000. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00fdd00 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA100 controller> port 0xc000-0xc00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4 chip1: <VIA 82C686 AC97 Audio> port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 15 at device 7.5 on pci0 trm0: <Tekram DC395U/UW/F DC315/U Fast20 Wide SCSI Adapter> port 0xd800-0xd8ff mem 0xd9001000-0xd9001fff irq 15 at device 11.0 on pci0 tl0: <Compaq Netelligent 10/100> port 0xdc00-0xdc0f mem 0xd9000000-0xd900000f irq 10 at device 13.0 on pci0 tl0: Ethernet address: 00:80:5f:27:40:72 miibus0: <MII bus> on tl0 nsphy0: <DP83840 10/100 media interface> on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: <ThunderLAN 10baseT media interface> on miibus0 tlphy0: 10base2/BNC, 10base5/AUI puc0: <Dolphin Peripherals 4036> port 0xe400-0xe407,0xe000-0xe007 irq 10 at device 17.0 on pci0 could not get resource could not get resource -- Jean-Marc Zucconi -- PGP Key: finger [EMAIL PROTECTED] [KeyID: 400B38E9] _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"