Does anyone use a FDDI card on 5.0?

Oliver Lehmann lehmann at ans-netz.de
Tue Apr 1 08:18:59 PST 2003


Andrew Gallatin wrote:

> Index: dev/pdq/pdq_freebsd.h
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/pdq/pdq_freebsd.h,v
> retrieving revision 1.2
> diff -u -r1.2 pdq_freebsd.h
> --- dev/pdq/pdq_freebsd.h	2 Jun 2002 20:05:46 -0000	1.2
> +++ dev/pdq/pdq_freebsd.h	1 Apr 2003 14:01:41 -0000
> @@ -165,7 +165,11 @@
>  #define	PDQ_OS_CSR_FMT	"0x%x"
>  
>  #define	PDQ_OS_USEC_DELAY(n)		DELAY(n)
> +#ifdef __alpha__
> +#define	PDQ_OS_VA_TO_BUSPA(pdq, p)      alpha_XXX_dmamap((vm_offset_t)p)
> +#else
>  #define	PDQ_OS_VA_TO_BUSPA(pdq, p)	vtophys(p)
> +#endif
>  
>  #define	PDQ_OS_MEMALLOC(n)		malloc(n, M_DEVBUF, M_NOWAIT)
>  #define	PDQ_OS_MEMFREE(p, n)		free((void *) p, M_DEVBUF)
> 
> 

After rebooting with a new kernel which has both patches applied (this,
and still the 1st one), i got:

fpa0: <Digital DEFPA PCI FDDI Controller> port 0x10180-0x101ff mem
0x82030000-0x8203ffff,0x82041180-0x820411ff irq 3 at device 9.0 on pci0
fpa0: DEC DEFPA PCI FDDI SAS Controller
fpa0: FDDI address 00:a0:24:61:dd:36, FW=2.46, HW=1, SMT V7.2
fpa0: FDDI Port = S (PMD = ANSI Multi-Mode)
fpa0: interrupting at CIA irq 3
panic: mutex fpa 0xfffffc0000900da0 already initialized
panic
Stopped at      Debugger+0x34:  zapnot  v0,#0xf,v0      <v0=0x6>
db> 


By the way, why didn't apeear your mails on the mailinglist?

  Greetings, Oliver

-- 
 Oliver Lehmann
        @home: lehmann at ans-netz.de
      @office: oliver.lehmann at mgi.de
         @www: http://www.pofo.de/  |  http://wishlist.ans-netz.de/


More information about the freebsd-alpha mailing list