Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2003 17:55:50 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: Does anyone use a FDDI card on 5.0?
Message-ID:  <20030401175550.40e1bb92.lehmann@ans-netz.de>
In-Reply-To: <16009.39956.192664.42414@grasshopper.cs.duke.edu>
References:  <003901c2f6e2$3f1c0d40$0a04a8c0@PLANETEORANGE.CA> <20030331181836.0c9b67d0.lehmann@ans-netz.de> <16008.28257.658768.820352@grasshopper.cs.duke.edu> <20030331213003.4e67d88f.lehmann@ans-netz.de> <16008.40619.177277.973890@grasshopper.cs.duke.edu> <20030331233509.21ba9cce.lehmann@ans-netz.de> <16009.39956.192664.42414@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@ans-netz.de
      @office: oliver.lehmann@mgi.de
         @www: http://www.pofo.de/  |  http://wishlist.ans-netz.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030401175550.40e1bb92.lehmann>