syscons

2000-10-16 Thread Andrew M. Miklic

Hi,

I have a question about syscons, and I was wondering if there were
anyone out there who knew enough about the initialization sequence of
syscons to answer...

Basically, I'm trying to write a TGA driver around syscons, but TGA
is a PCI card, and it seems, after having looked through the syscons
code and the VGA driver, that syscons is better suited to ISA-style
adapters, i.e., it absoultely has to call (tga/vga)_configure() very
early in boot (i.e., before main()) to register adapters, and this
registration requires a probe of adapters _before_ PCI services are
available to do a probe of PCI adapters--is this true?  If so, does
anyone know of a nifty way around this conundrum?

Andrew Miklic



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



bus_space_subregion()?

2000-09-19 Thread Andrew M. Miklic

All,

I'm trying to port the TGA/TGA2 driver from NetBSD to FreeBSD, and there

is a function used throughout the code (bus_space_subregion()) that has
a prototype defined in FreeBSD, but no code associated with it--does
anyone know if there is a functional equivalent?

Andrew Miklic



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Make World kdump failure

2000-05-14 Thread Andrew M. Miklic

I'm getting a "make world" failure with Alpha -current (cvsup'ed fresh
as of a few minutes ago, although this problem has persisted for over a
week, as far as I can tell)..it seems to be dying in kdump, strangely
apparently on i386-specific stuff.

Is anyone else seeing this?

(Just in case people are thinking the path has anything to do with it, I
saw the exact same errors when the src tree was rooted /usr--I just
moved it to /usr/local to see if anything would change...)

The stream of errors and warnings is below:

***

=== usr.bin/kdump
sh /usr/local/src/usr.bin/kdump/mkioctls
/usr/obj/usr/local/src/alpha/usr/include  ioctl.c
In file included from :62:
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:51:
opt_pcvt.h: No such file or directory
In file included from
/usr/obj/usr/local/src/alpha/usr/include/sys/param.h:96,
 from
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:53,

 from :62:
/usr/obj/usr/local/src/alpha/usr/include/machine/limits.h:64: warning:
`INT_MAX' redefined
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/include/if_wl_wavelan.h:149:
warning: this is the location of the previous definition
In file included from
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:53,

 from :62:
/usr/obj/usr/local/src/alpha/usr/include/sys/param.h:206: warning: `MAX'
redefined
/usr/obj/usr/local/src/alpha/usr/include/netinet/ip_compat.h:146:
warning: this is the location of the previous definition
In file included from :62:
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:71:
machine/pcvt_ioctl.h: No such file or directory
In file included from :62:
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:77:
dev/kbd/kbdreg.h: No such file or directory
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:78:
dev/kbd/atkbdcreg.h: No such file or directory
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:80:
i386/isa/pcvt/pcvt_conf.h: No such file or directory
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:132:
#error "Supported keyboard scancode sets are 1 and 2 only (for now)!!!"
In file included from :82:
/usr/obj/usr/local/src/alpha/usr/include/sys/sys/cdrio.h:59: warning:
`CDRIOCBLANK' redefined
/usr/obj/usr/local/src/alpha/usr/include/sys/pc98/pc98/wormio.h:102:
warning: this is the location of the previous definition
In file included from :93:
/usr/obj/usr/local/src/alpha/usr/include/sys/sys/kbio.h:47: warning:
`KB_OTHER' redefined
/usr/obj/usr/local/src/alpha/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:100:
warning: this is the location of the previous definition
In file included from :94:
/usr/obj/usr/local/src/alpha/usr/include/sys/sys/memrange.h:18: warning:
`MDF_ACTIVE' redefined
/usr/obj/usr/local/src/alpha/usr/include/pccard/cardinfo.h:80: warning:
this is the location of the previous definition
rm -f .depend
mkdep -f .depend -a-I/usr/local/src/usr.bin/kdump/../ktrace
-I/usr/local/src/usr.bin/kdump/../..
-I/usr/obj/usr/local/src/alpha/usr/include
/usr/local/src/usr.bin/kdump/kdump.c ioctl.c
/usr/local/src/usr.bin/kdump/../ktrace/subr.c
In file included from ioctl.c:88:
/usr/local/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:51:
opt_pcvt.h: No such file or directory
In file included from ioctl.c:88:
/usr/local/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:71:
machine/pcvt_ioctl.h: No such file or directory
In file included from ioctl.c:88:
/usr/local/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:77:
dev/kbd/kbdreg.h: No such file or directory
/usr/local/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:78:
dev/kbd/atkbdcreg.h: No such file or directory
/usr/local/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:80:
i386/isa/pcvt/pcvt_conf.h: No such file or directory
/usr/local/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:132:
#error "Supported keyboard scancode sets are 1 and 2 only (for now)!!!"
In file included from ioctl.c:108:
/usr/local/src/usr.bin/kdump/../../sys/sys/cdrio.h:59: warning:
`CDRIOCBLANK' redefined
/usr/local/src/usr.bin/kdump/../../sys/pc98/pc98/wormio.h:102: warning:
this is the location of the previous definition
In file included from ioctl.c:119:
/usr/local/src/usr.bin/kdump/../../sys/sys/kbio.h:47: warning:
`KB_OTHER' redefined
/usr/local/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:100:
warning: this is the location of the previous definition
In file included from ioctl.c:120:
/usr/local/src/usr.bin/kdump/../../sys/sys/memrange.h:18: warning:
`MDF_ACTIVE' redefined
/usr/obj/usr/local/src/alpha/usr/include/pccard/cardinfo.h:80: warning:
this is the location of the previous definition
mkdep: compile failed
*** Error code 1

Stop in /usr/local/src/usr.bin/kdump.
*** Error code 1

Stop in /usr/local/src/usr.bin.
*** Error code 1

Stop in