PCI doubt (regarding code in pci-skeleton.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

i was going thru the code in pci-skeleton.c and there
in the open fxn. when it is allocating memory for its
transmit and receive buffers it's using pci_alloc_consistent().
can ne one tell me what exactly this fxn. does and where
can i find some info on what all args it accepts??
what will b the problem if i try to allocate using the std
fxns like kmalloc etc.??

thanx

- /dev/mandeep


-----Original Message-----
From: Greg KH [mailto:greg@kroah.com]
Sent: Saturday, March 20, 2004 4:37 AM
To: Anandraj
Cc: kernelnewbies@nl.linux.org
Subject: Re: PCI Slot info


On Tue, Mar 09, 2004 at 09:23:43AM +0530, Anandraj wrote:
> hi greg,
> Then what does the slot number mean in PCI ?

See include/linux/pci.h for a explaination of what PCI_SLOT() is, and
how it works.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux