Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 19:12:30 +0200
From:      <hselasky@c2i.net>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Ari Suutari <ari.suutari@syncrontech.com>
Cc:        Gary Jennejohn <garyj@jennejohn.org>, hselasky@c2i.net, freebsd-isdn@FreeBSD.ORG
Subject:   Re: New ihfc driver
Message-ID:  <20020903171229.YWL15962.fep02-svc.swip.net@mta-int.swip.net>

next in thread | raw e-mail | index | archive | help
>
> I tried, I couldn't get it to compile.
> 

If the code doesn't compile it may be a compiler compability issue. Try upgrading the compiler to the lastest current-version. If the code is hard to
understand try something like:

cc -E -I/sys -I/your_kernel_compile_directory
file.c

This driver is not an effort going back to the old layer2/layer1. This driver is an alternative to the other drivers, perhaps providing support for some new features. The reason other chips are supported is that the HFC-1 chip uses two chips. One Siemens chip and one HFC chip.

About the c-coding: If the compiler would generate code that generates and optimizes itself, using switches is no problem. But hence the code generated will actually try each statement until one matches, that wastes CPU. Especially if used in an interrupt handler. What is the use of switching ``constants``, given only one ISDN card is present?

-- HPS

-------------------------------------------------
WebMail fra Tele2 http://www.tele2.no
-------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020903171229.YWL15962.fep02-svc.swip.net>