- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Where is the header file for MOD_WSIO_PCI?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 02:32 PM
11-20-2002 02:32 PM
I am writing a DLKM interface driver for a PCI card.
The compiler is complaining that it doesn't know the undefined symbol 'MOD_WSIO_PCI' in the call mod_wsio_attach_list_add(MOD_WSIO_PCI,...). I included the
I have a HP Visualize Workstation B2000, with HPUX 11.0 installed. swlist tells me that I have HP C/ANSI C Developer's Bundle (B
3899BA).
Where is MOD_WSIO_PCI defined? Is there a patch that I need to install?
I appreciate any help in resolving this problem.
Kym
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 12:20 AM
11-21-2002 12:20 AM
SolutionI found this rcen. I think that for the moment you have to write your own #define ...
Regards,
Jean-Louis.
PROBLEM
I am developing DLKM (Dynamically Loadable Kernel Modules) at HP_UX 11.0.
The following manifest constants (for example, MOD_WSIO_*), function
prototypes, and structures are missing from HP-UX 11.0:
MOD_WSIO_CORE
MOD_WSIO_EISA
MOD_WSIO_PCI
The HP-UX 11.0 Device Driver Guide, Chapter 11, page 299 documents the
mod_wsio_attach_list_*** functions and arguments, but does not specify
the values for the constants.
What are the values for these constants?
CONFIGURATION
Operating System - HP-UX
Version - 11.0
Hardware System - PA9000
Series - V2500
Subsystem - DLKM (Dynamically Loadable Kernel Modules)
RESOLUTION
These are the missing values:
#define MOD_WSIO_CORE 0x1
#define MOD_WSIO_EISA 0x2
#define MOD_WSIO_PCI 0x4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 12:37 AM
11-21-2002 12:37 AM
Re: Where is the header file for MOD_WSIO_PCI?
/* dlkm_help.h -- header info from wsio_private.h and wsio_dlkm.h */
#if 1
typedef struct nodeinfo {
struct isc_table_type *isc;
int dummy1,dummy2;
} dlkm_node_t;
#else
#include "./wsio_private.h"
#define dlkm_node_t wsio_node_cdio_priv_t
#endif
extern dlkm_node_t *io_get_private __((dlkm_node_t *node));
#define MOD_WSIO_CORE 0x1
#define MOD_WSIO_EISA 0x2
#define MOD_WSIO_PCI 0x4
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:47 PM
11-21-2002 02:47 PM
Re: Where is the header file for MOD_WSIO_PCI?
By the way, I added the #define, and now getting another error that the system doesn't know the type "wsio_node_cdio_priv_t". I am basically following the DLKM example from "Developing Dynamically Loadable Kernel Modules Issue 1.0 HPUX 11.0". This problem is not toooo big of a deal since I can call wsio_get_isc() to get the isc pointer that I need. Anyways, it's strange that using the example provided would take soooo much to time to get it up and running :(.
-----------------------------------------
Hey Robert-Jan: Thanks (again)! Where is dlkm_help.h, wsio_private.h? I don't have these files on my system. Is there a bundle that I need to install/missing?
Kym
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 12:07 AM
11-22-2002 12:07 AM
Re: Where is the header file for MOD_WSIO_PCI?
I am very sorry but I think that there is no fix in 11.00 (only a bug). If you have a look at /usr/include/sys/wsio.h on a 11.11 system, you will find :
/* The following MOD_WSIO_* were originally defined in wsio_dlkm.h.
* But that file is not shipped, and third party dlkm driver will
* need this defines. Hence they moved here */
#define MOD_WSIO_CORE 0x1
#define MOD_WSIO_EISA 0x2
#define MOD_WSIO_PCI 0x4
But concerning wsio_private.h for example, don't look for it ... It's not shipped with hp-ux. I can only give you wsio_node_cdio_priv_t definition :
typedef struct {
void *isc;
void *mkminor;
int build_mod;
} wsio_node_cdio_priv_t;
Regards