10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Recently, I setup a dual boot on this PC. I can currently jump from Ubuntu 12.04 and 16.04. What I would like to be able to do is access the home directory of my 16.04 OS from within the 12.04, is that possible? I can mount the partition of the hard drive where 16.04 lives from within 12.04 but it... (4 Replies)
Discussion started by: Circuits
4 Replies
2. Red Hat
hi all,
As going thru LVM concepts in rhel 6, got hit with a question about "how to use the raw partition of an harddisk which extended volume is taken a bit"
please find the attached diagram...
is it possible to use this raw space with previously created extended partition without data... (13 Replies)
Discussion started by: redhatlbug
13 Replies
3. Solaris
Dear all,
We have a Solaris Server at other location. Can we access the Server from remote ....Any software is needed for this ....pl help.
Rgds
Rj (7 Replies)
Discussion started by: jegaraman
7 Replies
4. Solaris
This is the error message that I am getting on a Solaris 10 sparc server
scsi: no major number
cannot load drivers for /pci@400.....
Can't load the root filesystem
Type 'go' to resume
{0} ok
Is there a way for me to correct this issue. It looks like I am missing a scsi driver to boot up... (5 Replies)
Discussion started by: trinityforce
5 Replies
5. Shell Programming and Scripting
Folks,
I'm a perl moron, so please speak very slowly. : )
I'm modifying a build script that starts up an apache server. Now there is a .config file that hardcodes an old webserver path like this c:\oldWebserver. Now I don't want that hardcoded value, rather wish to use an... (3 Replies)
Discussion started by: MarkoRocko
3 Replies
6. Hardware
Hi all,
I need to configure the zte zxv10 w300 modem, but can't access to it control panel. Seems to hide or mask it IP address. Someone knows howto access or setup a new configuration ? a hard reset maybe ? then looking in a default IP address ? how is this ?
Thanks in advance
VicK (0 Replies)
Discussion started by: VicK
0 Replies
7. Red Hat
Hello, every one,
I tried to install redhat linux enterprise server version 4 (ES4) on the my system with the
following configuration
Pentium core 2 duo 2.66 E 6750
Intel DG33FB motherboard
160Gb Segate hard disk (SATA)
1024 mb (1GB) DDR2 TRAN RAM
Lg DVD/Cd WR
BUT AM GETTING... (0 Replies)
Discussion started by: moinkhan31
0 Replies
8. Solaris
Hello All,
I am quite new to Solaris.
Can someone tell me what's the equivalent of HP-UX ps -efx on Solaris? It basically displays the whole command, instead of te first 80 characters of the command.
I need that to differentiate among multiple Weblogic processes where all the specifics... (1 Reply)
Discussion started by: usfrog
1 Replies
9. IP Networking
We can access our solaris 8 from our LAN . However when we try to
access the same over our WAN , it is not able to ping the server .
/etc/hosts has entries for our DNS server. Another thing all WAN clients
are Windows 2000 workstations .
Here is the output netstat -nr
Routing Table: IPv4... (7 Replies)
Discussion started by: Hitesh Shah
7 Replies
10. Solaris
Hi,
i have a RealTek Lan Card on my machine. Does Solaris 9 supports this lan card .
Thank You,
Shafi (3 Replies)
Discussion started by: sol8admin
3 Replies
PCI(3) BSD Library Functions Manual PCI(3)
NAME
pci -- library interface for PCI bus access
LIBRARY
PCI Bus Access Library (libpci, -lpci)
SYNOPSIS
#include <pci.h>
int
pcibus_conf_read(int pcifd, u_int bus, u_int dev, u_int func, u_int reg, pcireg_t *valp);
int
pcibus_conf_write(int pcifd, u_int bus, u_int dev, u_int func, u_int reg, pcireg_t val);
int
pcidev_conf_read(int devfd, u_int reg, pcireg_t *valp);
int
pcidev_conf_write(int devfd, u_int reg, pcireg_t val);
char *
pci_findvendor(pcireg_t id_reg);
void
pci_devinfo(pcireg_t id_reg, pcireg_t class_reg, char *devinfo, size_t len);
void
pci_conf_print(int pcifd, u_int bus, u_int dev, u_int func);
DESCRIPTION
The pci library provides support for accessing the PCI bus by user programs.
These functions are available in the libpci library. Programs should be linked with -lpci.
CONFIGURATION SPACE FUNCTIONS
The following functions are used to access PCI configuration space:
pcibus_conf_read()
Access the PCI configuration register reg on the device located at bus, dev, func, and place the result in *valp. pcifd must be an
open file descriptor to a PCI bus within the target PCI domain.
pcibus_conf_write()
Write the value specified by val into the PCI configuration register reg on the device located at bus, dev, func. pcifd must be an
open file descriptor to a PCI bus within the target PCI domain.
pcidev_conf_read()
Access the PCI configuration register reg on the device associated with the open file descriptor devfd and place the result in *valp.
pcidev_conf_write()
Write the value specified by val into the PCI configuration register reg on the device associated with the open file descriptor devfd.
MISCELLANEOUS FUNCTIONS
The following miscellaneous functions are available:
pci_findvendor()
Return an ASCII description of the PCI vendor in the PCI ID register id_reg.
pci_devinfo()
Return an ASCII description of the PCI vendor, PCI product, and PCI class specified by the PCI ID register id_reg and PCI class ID reg-
ister class_reg. The description is placed into the buffer pointed to by devinfo; the size of that buffer is specified in len.
pci_conf_print()
Print the PCI configuration information for the device located at bus, dev, func. pcifd must be an open file descriptor to a PCI bus
within the target PCI domain.
RETURN VALUES
The pcibus_conf_read(), pcibus_conf_write(), pcidev_conf_read(), and pcidev_conf_write() functions return 0 on success and -1 on failure.
The pci_findvendor() function returns NULL if the PCI vendor description cannot be found.
SEE ALSO
pci(4)
HISTORY
The pcibus_conf_read(), pcibus_conf_write(), pcidev_conf_read(), pcidev_conf_write(), pci_findvendor(), pci_devinfo(), and pci_conf_print()
functions first appeared in NetBSD 1.6.
BSD
April 24, 2004 BSD