How to create one node for multiple instances of hardware

I want a single minor device node to act as the interface to all instances of my hardware, in this case a co-processor chip on the     PCI bus. For the number of chips found at boot time, I want requests to be dispatched, one per chip, in a round-robin. Is this possible?
I suppose one approach to solving the problem could be to set a static flag in the xxattach function (accessible to xxattach only). In xxattach the flag is set after creating the first and only node and a list of the chips is built on subsequent calls to xxattach. Xxioctl calls would have the same minor number, which could be ignored, and the command dispatched to the next chip in the list. A single node solution is preferable to a driver modification.
Thanks

I think you're going about this backwards.
Make the driver be a "normal" driver, with one instance per chip.
Then make a user-space demon that round-robins requests between available hardware.
Or have a second pseudo-driver handle arbitration.
Either way, dont try to shoe-horn the driver framework from another OS, onto solaris. That's what I presume you meant by "A single node solution is preferable to a driver modification."

Similar Messages

  • How to create one node for multiple cards?

    I want a single minor device node to act as the interface to all instances of my pci-cards.
    I have the same pci-cards(pcixxx, xxx).

    You may want to create minor nodes on the fly
    using cloning or makedevice() interface.
    WDD has an example on it in xx_open() section,
    I believe
    Regards,
         Cyril
    I want a single minor device node to act as the
    interface to all instances of my pci-cards.
    I have the same pci-cards(pcixxx, xxx).

  • How to create one TO for multiple TRs

    Dear All,
    how to create one TO for multiple TRs, kindly suggest me
    Regards,
    balu

    As for your question: it is discussed in sAP online help:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f841f24afa11d182b90000e829fbfe/frameset.htm
    Sorry I misunderstood your question.
    The above mentioned solution won't create one single TO from multiple TR.
    Edited by: Csaba Szommer on Aug 11, 2010 9:46 AM

  • How to create one delivery for multiple sales order

    Hi!! Friends,
    Can some one explain the steps to be followed in creating one delivery for multiple sales order in SAP SD.
    Regards
    AKASH
    Message was edited by:
            AKASH TAMBI

    Hi.,
                  You can combine different orders in to one delivery ,But for the customer Order combination should be checked in  the sales area data of the shipping tab,we can combine orders but the ship to party,Route,Inco terms,Shipping date,shipping point should be same,you can do in T.code VL04 & VL10
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • SEPA file – how to create one file for multiple company codes

    Dear experts,
    My company has multiple company codes and they process automatic payments (F110) for multiple company codes in the same run.
    The company wants to generate one SEPA file for all company codes.
    In OBPM1  for SEPA format in the section ``Payment medium output devided by level of detail`` I unchecked everything (attached).
    OBPM4 for SEPA format is showing `` No separation of payment medium output``.
    Unfortunately, when I run automatic payments (F110) for multiple codes, multiple files for each company code are created.
    Can anyone let me know how it is possible to create one SEPA file that will contain payments for multiple company codes?
    Thank you

    Hi Zara,
    Please check in transaction DMEE your format tree (eg. SEPA_CT), 'DMEE tree: properties' - tab 'Sort/key field'. Is the Sort/key field 'ZBUKR' defined there with Level 1?
    Please follow the recommendation of note http://service.sap.com/sap/support/notes/1742584
    Regards,
    Emöke

  • How to create one checksum for 264 vis

    Hi,
    How to create "one Checksum" for 264 Vis.These 264 Vis are Interlinked if i change code for any .vi the checksum Should be update.This checksum is shown on the main window.
    Regards
    Ravindranath
    Solved!
    Go to Solution.

    Here's a slightly simplified version (saved in 8.6).  There's no need for the Get/Set File Position.  The file position is already being incremented with the read.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Multiple File MD5 Checksum (Version 8.6).vi ‏23 KB

  • [ADF Help] How to create a view for multiple tables

    Hi,
    I am using Jdeveloper 11G and ADF framework, and trying to create a view to update multiple tables.
    ex:
    Table A has these fields: ID, Name
    Table B has these fields: ID, Address
    A.ID and B.ID are primary keys.
    B.ID has FK relationship with A.ID
    (basically, these tables have one-to-one relation)
    I want to create a view object, which contains these fields: B.ID (or A.ID), A.Name, B.Address.
    So I can execute C,R,U,D for both tables.
    I create these tables in DB, and create entity objects for these tables.
    So there are 2 entity objects and 1 association.
    Then I create a view object based on B and add fields of A into the view:
    If the association is not a "Composition Association",
    when I run the model ("Oracle Business Component Browser") and try to insert new data, fields of A can't edit.
    If the association is a "Composition Association", and click the insert button, I will get
    "oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity"
    If I create a view object based on A and add filed of B into the view:
    When I run the model and try to insert new data, fields of B can't edit, no matter the association is or is not a composition association.
    So... how can I create a view for multiple tables correctly?
    Thanks for any advices!
    Here are some pictures about my problem, if there is any unclear point, please let me know.
    http://leonjava.blogspot.com/2009_10_01_archive.html
    (A is Prod, B is CpuSocket)
    Edited by: user8093176 on Oct 25, 2009 12:29 AM

    Hi Branislav,
    Thanks, but the result is same ....
    In the step 2 of creating view object, I can select entity objects to be added in to the view.
    If I select A first, and then select B (the "Source Usage" of B is A), then finishing the wizards.
    When I try to create a new record in the view, I can't edit any properties of B (those files are disabled).
    If I select B first, and then select A in crating view object, the result is similar ...
    Thanks for any further suggestion.
    Leon

  • How to schedule one report for multiple company code?

    How you can schedule reports in BW 3.5? Suppose I need to schedule one report for multiple company code, how can you do that and notify the users? I do not want to send multiple emails to the same user if the report runs for 20 times (for 20 different companies).
    points are given for ASAP replies.
    Thanks in advance
    Peter

    Dear Peter,
    Try to restrict the Company Code with  those 20 values and schedule.
    Regards,
    Ramkumar.

  • Need to create one TO for multiple SU's

    Hi All,
    I want to create a single TO for multiple Storage units. where destination storage bin and type will remain same for all.
    Is it possible in standard SAP..
    To create one TO for an SU L_TO_CREATE_MOVE_SU can be used..
    I tried using L_TO_CREATE_MULTIPLE for my reqmnt but its nt working as expected.
    Please help

    You might want to try asking this on a forum that specific to your database. I suspect the answer can vary depending on the database and probably requires in depth knowledge of what the database does.

  • How  to create one delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incorterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Hi
    To understand splitting behavior, see SAP Note 546668 - FAQ: Delivery split when creating deliveries. And yes, incoterms happens.
    I think that with the help of question 6 you can try to force the merging of SO. Then, see SAP Note 166397 - Delivery split according to customer field ZUKRL, and handling the field ZUKRL in a VOFM in the copy rule I think that you can try to do it.
    Finally See  Note 4505 - Duprec when adding delivery (VL04, VL01, VL10*) to avoid problems while you are merging.
    Regards
    Eduardo

  • How is the SNMP support for multiple instances

    Hi,
    I have two instances of WebLogic Server 5.1 running on Solaris 5.8 node.
    How can get the details thru SNMP for both instances. I was able to
    start only one instace of SNMP agent at any time. Is there any solution
    Any help is appreciated. Thanks.
    --sreeni.

    You can provide URLs of both servers to one SNMP agent, via the -serverURLs
    option.
    Sreeni Gaddam <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I have two instances of WebLogic Server 5.1 running on Solaris 5.8 node.
    How can get the details thru SNMP for both instances. I was able to
    start only one instace of SNMP agent at any time. Is there any solution
    Any help is appreciated. Thanks.
    --sreeni.

  • How to create group bom for multiple plants with different company codes

    Dear all,
    In my current scenario we have 5 Company codes with a plant with each company. The same kind of materials exist in all the 5 plants, so what i want is when i create any BOM, that BOM has to extend in all the company codes, as with GROUP BOM i can able to extend the same in only one company code.
    So how to do this?
    Thanks in Advance
    Bhushan

    For that first extend all the materials to all the plants... In one plant create a BOM for the material..
    In all other polants in CS01,   click COpy from .. There you mention the matreial and the plant in which the BOm is alerady available..
    karthick

  • How to create production order for multiple items having common raw materia

    Dear all,
    We are running a sheet metal fabrication company at Vadodara Gujrat.
    Please guide us how to create single production order for multiple items using single raw material??
    For example, We want to produce baby shirt(item code AAA001), shirt with full sleeve(item code AAA002), shirt with half sleeve(item code AAA003),shirt slim fit (item code AAA004),shirt loose fit(item code AAA005) from single raw material say(item code XXX001).
    Right now we have to create 5 production order to produce above 5 items of single sales order  in SAP B1 though it is made from single raw material which is foolishness and time consuming too. (Please also note that to produce any finfish good item, raw material required for that item may vary every time in our process.)
    Kindly guide us how to solve the problem.
    Thanks.
    RUPESH  +91-9227744273
    WEB : www.gorasia.co.in

    Hi Rupesh Gorashiya,
    This is possible through MRP for that you have to put Sales Order first and Run MRP Wizard
    MRP Wizard Put Multi Production Order as per Item Taking in Sales Order just click it on and execute.
    Thanks,
    Srujal Patel

  • Create one connection for multiple dynaset reads

    I am using VC 6.0 with the OO40 class. I am processing a text file in a console batch mode. The file can contain 1 record or hundreds of records. I would like to open the db connection/session once and read the database multiple times - one for each record being processed. What is happening is that the first record is read, and processed. The subsequent records are not read and the dynaset still points to the first record. I have the dynaset read process in a function - so that the dynaset is destroyed and recreated everytime. What am I doing wrong.

    As for your question: it is discussed in sAP online help:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/f841f24afa11d182b90000e829fbfe/frameset.htm
    Sorry I misunderstood your question.
    The above mentioned solution won't create one single TO from multiple TR.
    Edited by: Csaba Szommer on Aug 11, 2010 9:46 AM

  • How to create one form for two Udo object

    Hy ,
    I have two Object Udo (header and line)
    How we created a form to manage these two files (UDO)
    Thanks

    Thank you janos
    it works, I put the code to other developers for information
         Shared Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_application.ItemEvent
                If ((FormUID = "SIR001_") And (pVal.ItemUID = "add") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
                    Dim oDS As SAPbouiCOM.DBDataSource
                    oDS = SBO_application.Forms.Item(FormUID).DataSources.DBDataSources.Item("@SIR_LOTL")
                    oDS.InsertRecord(oDS.Size)
                    oDS.Offset = oDS.Size - 1
                    oform = SBO_application.Forms.Item(FormUID)
                    oMatrix = oform.Items.Item("mtx_0").Specific
                    oMatrix.AddRow(1)
                End If
                If ((FormUID = "SIR001_") And (pVal.ItemUID = "del") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
                    oform = SBO_application.Forms.Item(FormUID)
                    oMatrix = oform.Items.Item("mtx_0").Specific
                    For index As Integer = oMatrix.RowCount To 1 Step -1
                        If oMatrix.IsRowSelected(index) = True Then
                            oMatrix.DeleteRow(index)
                            oform.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
                        End If
                    Next
                End If
            End Sub

Maybe you are looking for

  • Need help with power point program

    I need an app that will allow me to use a power point presentation that links between several .ppt files.

  • Just found out I cannot get iPhone unless I pay full price...very upset

    My wife and I just went to the Verizon Wireless store and were told that we could not get the iPhone without paying a ridiculous amount of money.  I had just assumed that current customers, who had displayed loyalty to their company, would be able to

  • ASO - Max number of Children

    <p>I'm building a dimension in an aso cube that has 13,152 childrenrolling to a single parent.  The process does not reject anyrecords, but only adds 13,029 children...what's up with that?</p>

  • HELP - Screen informatio​ns related to FN key

    Hello guys,  First of all, I'm a noob here, so please forgive me if I'm posting this at the wrong session. I've searched the forum to check if there's any topic similar to this problem, but i didn't finded. I recently reinstalled the windows 7 on my

  • Cant send photo through text....via camera on lock screen

    I cant seem to find a way to text a pic or email a pic using the camera function via the lock screen. Try to access the camera from the lock screen...take a pic and try to forward it, send it etc. You cant. The function does not work. You have to go