Welcome to the most active Linux Forum on the web.
Go Back > Blogs
User Name



memcpy to access pci memory/ io space

Posted 12-29-2008 at 01:37 AM by vimalkumar.s

Hi everyone,

I am writing linux driver for custom pci module. In various linux device driver books i studied it is mentioned that readb/readw/readl and writeb/writew/writel functions should be used to access pci memory space and inb/outb functions should be used to access pci io space.

I want to do bulk data transfer and also it is time critical. In this case I through instead of using writeb/outb and readb/inb in a for loop it is better to use memcpy() which will avoid...
LQ Newbie
Posted in Uncategorized
Views 2457 Comments 0 vimalkumar.s is offline

What a tangled web we weave...

Posted 12-26-2008 at 10:42 PM by ctroyer

OK, I feel compelled to outline the steps I had to take to figure out which adapter to purchase. I started this whole effort to try to learn something, hopefully become a better sysadmin for my own machine, and last but not least, get the wireless functionality working so I could ditch the cord.
I started off knowing that I would probably need to use ndiswrapper, since I purchased my existing card back when I was only running Windows.
When I went to to download...
LQ Newbie
Views 1246 Comments 1 ctroyer is offline

First blog entry

Posted 12-26-2008 at 09:37 PM by richardhufford

This is my first entry on my first blog, so it's more of a test than an actual entry. In the next few weeks, I plan to introduce myself and describe the program I'm writing using Mono. Mono is an implementation of .NET. Mono programs can be run on both Windows and Linux. So far, I have created and compiled a program on my Linux machine. The program is a WINFORMS program written in C#, and does a little bit more than create a window and allow you to close it. I have copied the program to my...
LQ Newbie
Posted in Uncategorized
Views 690 Comments 0 richardhufford is offline

Can't go over it; can't go under it; I'll just go around it...

Posted 12-26-2008 at 09:11 PM by ctroyer

Since I can purchase a twenty dollar wireless adapter that has open source drivers and support, I'll just go that route. When I get it up and running, I'll report on the process.
LQ Newbie
Views 1055 Comments 0 ctroyer is offline

Nose to nose with the wall.

Posted 12-26-2008 at 07:13 PM by ctroyer

So I'm back to where I was long ago, just about ready to give up on the whole mess. Why doesn't ndiswrapper recognize the presence of the card? dmesg indicates that the system is recognizing the insertion of the card, but the OS doesn't know what to do about it. The Slackware 12.0 HAL isn't doing anything with the card, probably because there is nothing set up in the rc.whatever files. But I've no idea which file to edit or how to change it. Grr. None of this should be so difficult or obscure. I...
LQ Newbie
Views 700 Comments 0 ctroyer is offline


All times are GMT -5. The time now is 12:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration