Date: Sat, 15 Mar 1997 21:08:21 -0500 From: "Brian J. McGovern" <mcgovern@spoon.beta.com> To: hackers@freebsd.org Cc: marcio@cyclades.com Subject: cz driver... problems mapping resources? (HELP!) Message-ID: <199703160208.VAA01032@spoon.beta.com>
next in thread | raw e-mail | index | archive | help
I'm starting to pull my hair out. Somewhere, somehow, I'm doing something stupid. I know its me. I just need a pointer... The code below is the beginning of a device driver for the Cyclades Cyclom-Z card. The problem is that I can't get the card initialized... I've used the Linux driver as a template for trying to get this to work, and I don't think I'm doing anything too different. After dropping some printf's in to look at some of the registers and things, I seem to be getting really weird values. I'm not sure yet whether to blame how I'm setting up my ram and port addresses (mapping physical memory addresses to virtual, specifically), or whether other things need to get initalized that I'm missing in the Linux driver. In any event, I've placed my code on my FTP site (probably as quick as anything to get it). If anyone has some time to once-over the driver, I'd appreciate it. The code will be at ftp://spoon.beta.com/pub/czfbsd.tar.gz... I will also have the linux driver at ftp://spoon.beta.com/pub/czlinux.tar.gz. Any help is appreciated. Now, I have to go see about getting some replacement hair. -Brian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703160208.VAA01032>