Re: register new device driver

2001-07-06 Thread Srinivas Dharmasanam
Hi, I used the /usr/share/examples/make_device_driver.sh to create a device driver in /sys/i386/isa and included my additions in the skeleton provided. Now, I'm trying to call the mmap function with the "filed" argument equal to that corresponding to this new device. Can you please let me know

Re: register new device driver

2001-07-06 Thread Srinivas Dharmasanam
I'm trying this on FreeBSD 4.2 Release. -Srinivas >From: Julian Elischer <[EMAIL PROTECTED]> >To: Srinivas Dharmasanam <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: register new device driver >Date: Fri, 6 Jul 2001 14:38:15 -0700 (PDT) > >what

Re: 4.2 SMP driver for DiskonChip

2001-08-13 Thread Srinivas Dharmasanam
Hi, I'm trying to use the M-Systems', DiskonChip on a Dual PIII SBC running the SMP FreeBSD4.2 kernel. However, I get kernel crashes when trying to write to the DiskonChip (on a 4.2FreeBSD SMP kernel on a regular IDE disk) or sometimes even when I try to reboot from an existing FreeBSD 4.2-SMP

Re: inw and outw calls

2001-09-11 Thread Srinivas Dharmasanam
Hi, I have a question regarding the inb/outb() or inw/outw() calls in FreeBSD 4.2. I have a dual fxp Fast Ethernet NIC that shows up as following with dmesg : fxp1: port 0xcc00-0xcc3f mem 0xef90-0xef9f,0xefa ff000-0xefaf irq 18 at device 12.0 on pci2 fxp1: Ethernet address 00:30:6

Re: TCP&IP cksum offload on FreeBSD 4.2

2001-09-26 Thread Srinivas Dharmasanam
Hello, I'm trying to use the TCP&IP checksum offload capability of the Netgear GA620 NIC from a SMP FreeBSD 4.2R system running on a typical PIII SBC. I did enable TCP&IP cksum offload for receive operations by setting the if_hwassist flag in the driver /sys/pci/if_ti.c and verified that it is

hot swap with ugen

2001-11-20 Thread Srinivas Dharmasanam
Hi, I'm using the generic usb device drive ugen for controlling a USB device. The problem is I'm having to reboot the computer each time I disconnect/connect the device in order for FreeBSD to see the USB device. Is there something specific I need to do with ugen driver to support hot-swap cap

Re: hot swap with ugen

2001-11-21 Thread Srinivas Dharmasanam
That was it. Thank you. Regards, -Srinivas >From: Ian Dowse <[EMAIL PROTECTED]> >To: Srinivas Dharmasanam <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: hot swap with ugen >Date: Wed, 21 Nov 2001 10:44:24 + > >In mess

Re: TCP&IP cksum offload on FreeBSD 4.2

2001-12-04 Thread Srinivas Dharmasanam
Hi, I'm using the Netgear GA620 Gig ethernet NIC with Tigon II chip. Do you know if it is possible to increase the buffer size for standard sized ethernet frames from 512 buffers to say, 1024? I assume I'd have to modify the firmware and the host driver to accomodate these buffers. I dont plan

SMB driver for 4.2 SMP kernel (healthd, lmmon, etc.)

2001-12-04 Thread Srinivas Dharmasanam
Hi, I'm not able to work the SMB driver (used by healthd, lmmon, etc.) on an Intel x86 FreeBSD 4.2 SMP system for getting system statistics such as the CPU temps, voltages, fan rpm's etc. With a FreeBSD 4.2 single cpu kernel, all of these utilities work fine using the underlying SMB driver (/d

USB device framework in FreeBSD 4.2

2002-02-08 Thread Srinivas Dharmasanam
Nick, I'm trying to use a modified version of the ugen driver in FreeBSD 4.2 to control a USB device from the kernel space and am getting a kernel crash with a page fault trap (trap_fatal) when I try to do open on this device. >From a user process, I am able to open this device with no problem