Re: Timeda 8-multiport adapter: only 2 ports available

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Sun, 14 Dec 2008 12:14:07 -0800
On Dec 13, 2008, at 5:36 AM, Boris Samorodov wrote:

> That's for the line [*]:
> -----
> --- pucdata.c   (revision 185784)
> +++ pucdata.c   (working copy)
> _at__at_ -1145,6 +1145,10 _at__at_
>        case PUC_CFG_GET_TYPE:
>                *res = PUC_TYPE_SERIAL;
>                return (0);
> +       case PUC_CFG_INIT_PORT:
> +               bus_write_1((struct res *)res, 1 /* IER */,   [*]
> +                   (port >= 2) ? 0x10 : 0);
> +               return (0);
>        default:
>                break;
>        }

Argh, (struct res *) must be (struct resource *)...

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Sun Dec 14 2008 - 19:14:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC