Subject: port-alpha/8139: advansys driver thinks all the world's an i386
To: None <gnats-bugs@gnats.netbsd.org>
From: Peter Seebach <seebs@puddle.plethora.net>
List: netbsd-bugs
Date: 08/03/1999 19:12:46
>Number:         8139
>Category:       port-alpha
>Synopsis:       advansys driver won't compile on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer (NetBSD/alpha Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug  3 18:35:00 1999
>Last-Modified:
>Originator:     Peter Seebach
>Organization:
	
>Release:        1999/08/03
>Environment:
System: NetBSD puddle.plethora.net 1.4D NetBSD 1.4D (PUDDLE) #0: Wed Jun 30 21:26:48 CDT 1999 seebs@puddle.plethora.net:/usr/src/sys/arch/i386/compile/PUDDLE i386

(Actually, it's really my adjacent Alpha, but that doesn't have email
configured, and it's 1.4I)

>Description:
	You can't compile the 'advansys' driver on alpha; it says

../../../../dev/ic/advlib.c:1321: warning: cast from pointer to integer of different size

	and of course it's correct; we're converting a pointer to int32, which
	may not be portable.  ;-)

>How-To-Repeat:
	Uncomment the Advansys driver and try to build a kernel on alpha.
>Fix:
	I don't know.
>Audit-Trail:
>Unformatted: