Timeda 8-multiport adapter: only 2 ports available
    Boris Samorodov 
    bsam at ipt.ru
       
    Mon Dec 15 15:58:22 UTC 2008
    
    
  
Marcel Moolenaar <xcllnt at mac.com> writes:
> On Dec 13, 2008, at 5:36 AM, Boris Samorodov wrote:
>
>> That's for the line [*]:
>> -----
>> --- pucdata.c   (revision 185784)
>> +++ pucdata.c   (working copy)
>> @@ -1145,6 +1145,10 @@
>>        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 *)...
No go. The same, ports are detected but show garbadge.
Thank you for your efforts.
WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
    
    
More information about the freebsd-current
mailing list