5 More Discussions You Might Find Interesting
1. Web Development
hi All
I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark.
Any suggestions ? (1 Reply)
Discussion started by: anil529
1 Replies
2. Programming
hi All
I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark.
Any suggestions ? (0 Replies)
Discussion started by: anil529
0 Replies
3. Programming
Hi All,
In my application, we are using Publish/subscribe model implemented in JAVA and when I implemented it on windows to windows os,it is working fine and able to publish the right data and even when I am trying the same between two different OS i.e between Windows and Solaris sparc or... (1 Reply)
Discussion started by: smartgupta
1 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone,
When I use
echo "<textarea cols ="75" rows ="20" align="center">"
echo |cat xyz.sh
echo "</textarea>"
I am able to view the file xyz.sh in the text area
but when I try to echo an xml
echo "<textarea cols ="75" rows ="20" align="center">"
echo |cat xml.txt
echo... (3 Replies)
Discussion started by: Kashnaz
3 Replies
5. UNIX for Dummies Questions & Answers
Does anyone know how to publish a FrontPage site from a command line?
Thanks
Stewart (2 Replies)
Discussion started by: SHaddock
2 Replies
LEARN ABOUT OPENSOLARIS
scsi_reset_notify
scsi_reset_notify(9F) Kernel Functions for Drivers scsi_reset_notify(9F)
NAME
scsi_reset_notify - notify target driver of bus resets
SYNOPSIS
#include <sys/scsi/scsi.h>
void scsi_reset_notify(struct scsi_address *ap, int flag,
void (*callback)(caddr_t), caddr_t arg);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
ap Pointer to the scsi_address structure.
flag A flag indicating registration or cancellation of the notification request.
callback A pointer to the target driver's reset notification function.
arg The callback function argument.
DESCRIPTION
The scsi_reset_notify() function is used by a target driver when it needs to be notified of a bus reset. The bus reset could be issued by
the transport layer (e.g. the host bus adapter (HBA) driver or controller) or by another initiator.
The argument flag is used to register or cancel the notification. The supported values for flag are as follows:
SCSI_RESET_NOTIFY Register callback as the reset notification function for the target driver.
SCSI_RESET_CANCEL Cancel the reset notification request.
Target drivers can find out whether the HBA driver and controller support reset notification by checking the reset-notification capability
using the scsi_ifgetcap(9F) function.
RETURN VALUES
If flag is SCSI_RESET_NOTIFY, scsi_reset_notify() returns:
DDI_SUCCESS The notification request has been accepted.
DDI_FAILURE The transport layer does not support reset notification or could not accept this request.
If flag is SCSI_RESET_CANCEL, scsi_reset_notify() returns:
DDI_SUCCESS The notification request has been canceled.
DDI_FAILURE No notification request was registered.
CONTEXT
The scsi_reset_notify() function can be called from user, interrupt, or kernel context.
SEE ALSO
scsi_address(9S), scsi_ifgetcap(9F)
Writing Device Drivers
SunOS 5.11 16 Jan 2006 scsi_reset_notify(9F)