1 $NetBSD: patch-ad,v 1.1 2008/08/02 16:46:56 dholland Exp $
3 diff -urpN cs4235.orig/cs4235_ctl.h cs4235/cs4235_ctl.h
4 --- cs4235_ctl.h.orig 2000-10-09 09:55:19.000000000 -0400
5 +++ cs4235_ctl.h 2008-08-02 12:26:36.000000000 -0400
6 @@ -17,4 +17,10 @@ void cs4235_enable_access_indirect __P((
7 void cs4235_enable_access_extended __P((void));
8 void cs4235_enable_3d __P((void));
10 +#if defined(__i386__)
11 +#define iopl i386_iopl
12 +#elif defined(__x86_64__) || defined(__amd64__)
13 +#define iopl x86_64_iopl
16 #endif /* !_CS4235_CTL_H_ */