Subject: Re: scsi-ethernet again
To: Mattias Sandstrom <mattias@beauty.se>
From: None <ngc@ff.iij4u.or.jp>
List: port-mac68k
Date: 09/19/2002 09:31:39
On Thu, 19 Sep 2002 01:56:43 +0200
Mattias Sandstrom <mattias@beauty.se> wrote:
> John Ruschmeyer wrote:
> > When I added it to my 1.6 tree, I had to comment out the definition of the
> > dse_cdevsw structure.
>
> did that, and i still get the same errors, minus the ones regarding the
> cdevsw struct. what bothers me is that i get an error on the declaration:
>
> const struct scsipi_periphsw dse_switch = {
> NULL, /* Use default error handler */
> dsestart, /* have a queue, served by this */
> NULL, /* have no async handler */
> dsedone, /* deal with stats at interrupt time */
> };
>
> ../../../../dev/scsipi/if_dse.c:306: variable `dse_switch' has
> initializer but incomplete type
I'm sorry.
I'm usually testing with -current tree's source codes.
At recent -current kernel source, the following point has changed.
Acccording to basesrc/UPDATING file:
> 20020906:
> gehenna-devsw has been merged into the trunk. Need to update and
> reinstall usr.sbin/config before build the kernel.
Thus, to add drivers which I uploaded,
1) needs recent -current kernel source tree
2) needs to update usr.sbin/config built with recent source
If you use with former kernel sources (for example, 1.6-release,
and earlier), you will need changes which Mattias wrote.
(that is, reverting to cdevsw style)
-----------------------------
Hiroshi Noguchi
ngc@ff.iij4u.or.jp
http://www.ff.iij4u.or.jp/~ngc/