Re: Driver help

2001-10-31 Thread Wilko Bulte

On Wed, Oct 31, 2001 at 08:08:42AM +0100, Wilko Bulte wrote:
 On Tue, Oct 30, 2001 at 06:04:16PM -0600, Nick Rogness wrote:
 
 There is the isp(4) driver, by Matt Jacob, that supports Qlogic 
 FC HBAs.

Further clarifyin this: CPQ use QL2200 for use with Linux. 
CPQ KGPSA are Emulex LP[78]000, as used on Tru64,OVMS etc.

 
  The company I work for is willing to pay for someone to write a Compaq
  Fibe Channel driver for FreeBSD.  Please write me personally if you are
  interested.
  
  Nick Rogness [EMAIL PROTECTED]
   - Keep on Routing in a Free World...
FreeBSD: The Power to Serve!
  
  
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-hackers in the body of the message
 ---end of quoted text---
 
 -- 
 |   / o / /_  _   email:  [EMAIL PROTECTED]
 |/|/ / / /(  (_)  Bulte   Arnhem, The Netherlands 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message
---end of quoted text---

-- 
|   / o / /_  _ email:  [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 

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



Re: Driver help

2001-10-31 Thread Matthew Jacob


Yes, well, there is something Linux called the Compaq Fibre Channel Driver,
and it's not QLogic based- nor is it Emulex based- I believe it's Tachyon-
lite.

On Wed, 31 Oct 2001, Wilko Bulte wrote:

 On Wed, Oct 31, 2001 at 08:08:42AM +0100, Wilko Bulte wrote:
  On Tue, Oct 30, 2001 at 06:04:16PM -0600, Nick Rogness wrote:
  
  There is the isp(4) driver, by Matt Jacob, that supports Qlogic 
  FC HBAs.
 
 Further clarifyin this: CPQ use QL2200 for use with Linux. 
 CPQ KGPSA are Emulex LP[78]000, as used on Tru64,OVMS etc.
 
  
   The company I work for is willing to pay for someone to write a Compaq
   Fibe Channel driver for FreeBSD.  Please write me personally if you are
   interested.
   
   Nick Rogness [EMAIL PROTECTED]
- Keep on Routing in a Free World...
 FreeBSD: The Power to Serve!
   
   
   
   
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-hackers in the body of the message
  ---end of quoted text---
  
  -- 
  |   / o / /_  _ email:  [EMAIL PROTECTED]
  |/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-hackers in the body of the message
 ---end of quoted text---
 
 -- 
 |   / o / /_  _   email:  [EMAIL PROTECTED]
 |/|/ / / /(  (_)  Bulte   Arnhem, The Netherlands 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message
 


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



Re: Driver help

2001-10-31 Thread Wilko Bulte

On Wed, Oct 31, 2001 at 09:49:19AM -0800, Matthew Jacob wrote:

That is probably what we call the Jaguar in-house. It is (IIRC) a
dumb adapter, there is a Tachyon on it for sure.

Wilko

 Yes, well, there is something Linux called the Compaq Fibre Channel Driver,
 and it's not QLogic based- nor is it Emulex based- I believe it's Tachyon-
 lite.
 
 On Wed, 31 Oct 2001, Wilko Bulte wrote:
 
  On Wed, Oct 31, 2001 at 08:08:42AM +0100, Wilko Bulte wrote:
   On Tue, Oct 30, 2001 at 06:04:16PM -0600, Nick Rogness wrote:
   
   There is the isp(4) driver, by Matt Jacob, that supports Qlogic 
   FC HBAs.
  
  Further clarifyin this: CPQ use QL2200 for use with Linux. 
  CPQ KGPSA are Emulex LP[78]000, as used on Tru64,OVMS etc.
  
   
The company I work for is willing to pay for someone to write a Compaq
Fibe Channel driver for FreeBSD.  Please write me personally if you are
interested.

Nick Rogness [EMAIL PROTECTED]
 - Keep on Routing in a Free World...
  FreeBSD: The Power to Serve!




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
   ---end of quoted text---
   
   -- 
   |   / o / /_  _   email:  [EMAIL PROTECTED]
   |/|/ / / /(  (_)  Bulte   Arnhem, The Netherlands 
   
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-hackers in the body of the message
  ---end of quoted text---
  
  -- 
  |   / o / /_  _ email:  [EMAIL PROTECTED]
  |/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-hackers in the body of the message
  
---end of quoted text---

-- 
|   / o / /_  _ email:  [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 

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



Re: Driver help

2001-10-31 Thread Matthew Jacob


dumb is relative and fungible.

It's a tradeoff between doing the connection management in firmware (as with
the QLogic) or in the Kernel (as with Tachyon products mostly). It depends on
whom you believe ultimately does a better job.

Doing it in firmware allows the driver writer to manage the ULP stuff a lot
better because you're not so distracted by the low level ruckus.

Doing it in the kernel allows you to avoid all those nagging and persistent
questions of why the hell did the f/w do/say/barfturn-left-against-a-red
*that*?

-matt


On Wed, 31 Oct 2001, Wilko Bulte wrote:

 On Wed, Oct 31, 2001 at 09:49:19AM -0800, Matthew Jacob wrote:
 
 That is probably what we call the Jaguar in-house. It is (IIRC) a
 dumb adapter, there is a Tachyon on it for sure.
 
 Wilko


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



Re: Driver help

2001-10-31 Thread Terry Lambert

Matthew Jacob wrote:
 
 dumb is relative and fungible.
 
 It's a tradeoff between doing the connection management in firmware (as with
 the QLogic) or in the Kernel (as with Tachyon products mostly). It depends on
 whom you believe ultimately does a better job.
 
 Doing it in firmware allows the driver writer to manage the ULP stuff a lot
 better because you're not so distracted by the low level ruckus.
 
 Doing it in the kernel allows you to avoid all those nagging and persistent
 questions of why the hell did the f/w do/say/barfturn-left-against-a-red
 *that*?

I'm personally a firm believer in having the card do the
work so as to avoid the unnecessary bus transfers from the
kernel doing the work.

Alfred and Eric Melville both have incredibly funny anecdotes
about Windows machines without GL accelerators configured as
servers, and with GL screen savers which eat most of the CPU
away from server applications...

-- Terry

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



Re: Driver help

2001-10-31 Thread Wilko Bulte

On Wed, Oct 31, 2001 at 10:37:47AM -0800, Matthew Jacob wrote:
 dumb is relative and fungible.

Sure..

 It's a tradeoff between doing the connection management in firmware (as with
 the QLogic) or in the Kernel (as with Tachyon products mostly). It depends on
 whom you believe ultimately does a better job.

Well, I generally would like to put my money on the firmware. This assumes
(as always..) good firmware.

 Doing it in firmware allows the driver writer to manage the ULP stuff a lot
 better because you're not so distracted by the low level ruckus.

nod

 Doing it in the kernel allows you to avoid all those nagging and persistent
 questions of why the hell did the f/w do/say/barfturn-left-against-a-red
 *that*?

But it tends to produce horrible drivers if you are not very careful.
I remember a WD33C93 driver here.. shiver

 On Wed, 31 Oct 2001, Wilko Bulte wrote:
 
  On Wed, Oct 31, 2001 at 09:49:19AM -0800, Matthew Jacob wrote:
  
  That is probably what we call the Jaguar in-house. It is (IIRC) a
  dumb adapter, there is a Tachyon on it for sure.
  
  Wilko
---end of quoted text---

-- 
|   / o / /_  _ email:  [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 

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



Driver help

2001-10-30 Thread Nick Rogness


The company I work for is willing to pay for someone to write a Compaq
Fibe Channel driver for FreeBSD.  Please write me personally if you are
interested.

Nick Rogness [EMAIL PROTECTED]
 - Keep on Routing in a Free World...
  FreeBSD: The Power to Serve!




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



Re: Driver help

2001-10-30 Thread Wilko Bulte

On Tue, Oct 30, 2001 at 06:04:16PM -0600, Nick Rogness wrote:

There is the isp(4) driver, by Matt Jacob, that supports Qlogic 
FC HBAs.


 The company I work for is willing to pay for someone to write a Compaq
 Fibe Channel driver for FreeBSD.  Please write me personally if you are
 interested.
 
 Nick Rogness [EMAIL PROTECTED]
  - Keep on Routing in a Free World...
   FreeBSD: The Power to Serve!
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message
---end of quoted text---

-- 
|   / o / /_  _ email:  [EMAIL PROTECTED]
|/|/ / / /(  (_)  Bulte Arnhem, The Netherlands 

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



Re: driver help

2001-01-24 Thread David Rufino

* Mike Smith ([EMAIL PROTECTED]) wrote:
  I am currently trying to port the compatability layer of a linux
  kernel driver to FreeBSD 4.x.  The bit I'm stuck on at the moment
  is, how do I map arbitrary physical address space to kernel virtual
  address space (ala ioremap() in linux) ? Thanks.
 
 You don't.
 
 If this is a PCI device, it's all done for you when you call 
 bus_alloc_resource.

Ideally I would do this, except I'm porting a compatability layer for
a binary module, so I need a function which simply maps I/O space to
kernel virtual address space. Is it possible, if not desirable ?

-David



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



Re: driver help

2001-01-24 Thread Dennis

At 10:32 AM 01/24/2001, David Rufino wrote:
* Mike Smith ([EMAIL PROTECTED]) wrote:
   I am currently trying to port the compatability layer of a linux
   kernel driver to FreeBSD 4.x.  The bit I'm stuck on at the moment
   is, how do I map arbitrary physical address space to kernel virtual
   address space (ala ioremap() in linux) ? Thanks.
 
  You don't.
 
  If this is a PCI device, it's all done for you when you call
  bus_alloc_resource.

Ideally I would do this, except I'm porting a compatability layer for
a binary module, so I need a function which simply maps I/O space to
kernel virtual address space. Is it possible, if not desirable ?

You can use

vaddr_t pmap_mapdev(paddr,size)

to map any physical memory address.

Of course you never know when these "old friend" routines will disappear.

Dennis



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



driver help

2001-01-23 Thread David Rufino

I am currently trying to port the compatability layer of a linux
kernel driver to FreeBSD 4.x.  The bit I'm stuck on at the moment
is, how do I map arbitrary physical address space to kernel virtual
address space (ala ioremap() in linux) ? Thanks.

-David



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



ISA LM78 driver help

1999-05-22 Thread Marc Nicholas
Hello there...

I have an application where I require access to an LM78 health monitor
chip on a certain type of industrial PC motherboard we use. Unfortunately,
the LM78 is tied to ISA and not I2C/SMBus.

Can anyone recommend a good framework to start writing a driver for this
beastie? I've never actually written a driver before (*gulp*), so please
treat me gently ;-)

In essense, the chip sits at 0x290 with an address line at 0x290+5 and a
data line at 0x290+6. I'd be happy writing a program that merely peeks and
pokes in that address area, rather than a fully-fledged driver...

TIA.


-marc


Marc Nicholas
netSTOR Technologies, Inc. http://www.netstor.com
1.877.464.4776 416.979.9000 fax: 416.979.8223 cell: 416.346.9255



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: ISA LM78 driver help

1999-05-22 Thread Takanori Watanabe
In message pine.bsf.4.05.9905221943010.13140-100...@medulla.hippocampus.net, 
Marc Nicholas wrote:
Hello there...

I have an application where I require access to an LM78 health monitor
chip on a certain type of industrial PC motherboard we use. Unfortunately,
the LM78 is tied to ISA and not I2C/SMBus.

Can anyone recommend a good framework to start writing a driver for this
beastie? I've never actually written a driver before (*gulp*), so please
treat me gently ;-)

In essense, the chip sits at 0x290 with an address line at 0x290+5 and a
data line at 0x290+6. I'd be happy writing a program that merely peeks and
pokes in that address area, rather than a fully-fledged driver...

TIA.


I have two imprementation about it.
One is userland imprementation based on code by Shimizu-san.
It is available at 
http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/xmbmon104.new.tar.gz
And I wrote experimental kernel driver for LM78.
http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/sys/lm-dist.tar.gz

Regards,
Takanori Watanabe
a href=http://www.planet.kobe-u.ac.jp/~takawata/key.html;
Public Key/a
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 






To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: ISA LM78 driver help

1999-05-22 Thread David E. Cross
I have done simple drivers before.  I would be interested in working with you
on this (it would benefit me as well).  If you couild provide a web site with
more information that would help too.

--
David Cross   |  email: cro...@cs.rpi.edu 
Systems Administrator/Research Programmer |  Web: http://www.cs.rpi.edu/~crossd 
Rensselaer Polytechnic Institute, |  Ph: 518.276.2860
Department of Computer Science|  Fax: 518.276.4033
I speak only for myself.  |  WinNT:Linux::Linux:FreeBSD


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message