• RS/6000 ODM (Predefined Attributes)

    From Louis Ohland@21:1/5 to All on Wed Jan 4 06:04:54 2023
    Last night I beat my head against the wall and foundt that the ODM has
    what we need to findt out the items and values used by an RS/6000 MCA
    adapter.

    We use the Predefined Attributes because AIX knows about them. Duh-huh....

    A little more bit bashing...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Louis Ohland@21:1/5 to Louis Ohland on Wed Jan 4 06:13:56 2023
    PdAt “predefined attributes” file

    Louis Ohland wrote:
    Last night I beat my head against the wall and foundt that the ODM has
    what we need to findt out the items and values used by an RS/6000 MCA adapter.

    We use the Predefined Attributes because AIX knows about them. Duh-huh....

    A little more bit bashing...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Holzapfel@21:1/5 to Louis Ohland on Wed Jan 4 04:58:54 2023
    Louis Ohland schrieb am Mittwoch, 4. Januar 2023 um 13:13:50 UTC+1:
    PdAt “predefined attributes” file

    Install the adapter and driver first, then do

    odmget PdAt

    to see the PdAt of ALL installed adapters.
    Can be filtered with

    odmget -q "uniquetype = adapter/mca/NAME" PdAt

    if NAME is known.
    Not sure if the adapter needs to be present for this, or just the driver installed... May test tonite.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Holzapfel@21:1/5 to Christian Holzapfel on Wed Jan 4 04:59:30 2023
    Christian Holzapfel schrieb am Mittwoch, 4. Januar 2023 um 13:58:55 UTC+1:
    May test tonite.

    However, what I have not seen there are the actual bit positions for the POS registers - only the selection options.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Louis Ohland@21:1/5 to All on Wed Jan 4 06:16:10 2023
    https://patents.google.com/patent/US5802362

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Holzapfel@21:1/5 to Christian Holzapfel on Wed Jan 4 06:48:48 2023
    Christian Holzapfel schrieb am Mittwoch, 4. Januar 2023 um 13:59:31 UTC+1:
    However, what I have not seen there are the actual bit positions for the POS registers - only the selection options.

    I would say (and may be wrong here) that it is up to the kernel mode driver to translate the made selection from the ODM items (e.g. if interrupt 3, 5 or 7) into POS register bits.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Holzapfel@21:1/5 to Christian Holzapfel on Wed Jan 4 08:03:26 2023
    Christian Holzapfel schrieb am Mittwoch, 4. Januar 2023 um 15:48:49 UTC+1:
    I would say (and may be wrong here) that it is up to the kernel mode driver to translate the made selection from the ODM items (e.g. if interrupt 3, 5 or 7) into POS register bits.

    Some weiro who just looked into the AIX 4.1.3 source code found exactly that translation being part of the DRIVER when it's about the Corvette (bos/diag/tu/corv/corvette.c). No source code available for the 4-4.
    Hope I will never see that guy again...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Holzapfel@21:1/5 to All on Wed Jan 4 07:57:51 2023
    These are the ODM entries of the 8D77 adapter (4-4).
    I see the possible resource assignment values, but not how they are represented in the POS registers.

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "bus_mem_addr"
    deflt = "0xe0000"
    values = "0x30000-0xfffff000,0x1000"
    width = "0x1000"
    type = "M"
    generic = "D"
    rep = "nr"
    nls_index = 2

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "dma_bus_mem"
    deflt = "0x100000"
    values = "0x100000-0xfffff000,0x1000"
    width = ""
    type = "M"
    generic = "D"
    rep = "nr"
    nls_index = 3

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "dbmw"
    deflt = "0x202000"
    values = "0x202000-0x902000,0x1000"
    width = "dma_bus_mem"
    type = "W"
    generic = "DU"
    rep = "nr"
    nls_index = 12

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "bus_intr_lvl"
    deflt = "14"
    values = "3,4,5,7,10,11,12,14"
    width = ""
    type = "I"
    generic = "D"
    rep = "nl"
    nls_index = 4

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "intr_priority"
    deflt = "3"
    values = "3"
    width = ""
    type = "P"
    generic = "D"
    rep = "nl"
    nls_index = 5

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "dma_lvl"
    deflt = "3"
    values = "0-14,1"
    width = ""
    type = "A"
    generic = "D"
    rep = "nr"
    nls_index = 6

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "id"
    deflt = "7"
    values = "0-7,1"
    width = ""
    type = "R"
    generic = "UD"
    rep = "nr"
    nls_index = 7

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "ucode"
    deflt = ""
    values = ""
    width = ""
    type = "R"
    generic = "D"
    rep = "sl"
    nls_index = 9

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "bb"
    deflt = "no"
    values = "yes,no"
    width = ""
    type = "R"
    generic = "UD"
    rep = "slb"
    nls_index = 10

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "tm"
    deflt = "no"
    values = "yes,no"
    width = ""
    type = "R"
    generic = "UD"
    rep = "slb"
    nls_index = 14

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "tme"
    deflt = "no"
    values = "yes,no"
    width = ""
    type = "R"
    generic = "D"
    rep = "slb"
    nls_index = 15

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "tmp"
    deflt = "50"
    values = "0-75,1"
    width = "1"
    type = "R"
    generic = "UD"
    rep = "nr"
    nls_index = 13

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "max_data_rate"
    deflt = "3800"
    values = ""
    width = ""
    type = "R"
    generic = ""
    rep = "nl"
    nls_index = 0

    PdAt:
    uniquetype = "adapter/mca/hscsi"
    attribute = "bus_loc"
    deflt = ""
    values = ""
    width = ""
    type = "R"
    generic = ""
    rep = "s"
    nls_index = 0

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "bus_mem_addr"
    deflt = "0xe0000"
    values = "0x30000-0xfffff000,0x1000"
    width = "0x1000"
    type = "M"
    generic = "D"
    rep = "nr"
    nls_index = 2

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "dma_bus_mem"
    deflt = "0x100000"
    values = "0x100000-0xfffff000,0x1000"
    width = ""
    type = "M"
    generic = "D"
    rep = "nr"
    nls_index = 3

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "dbmw"
    deflt = "0x202000"
    values = "0x202000-0x902000,0x1000"
    width = "dma_bus_mem"
    type = "W"
    generic = "DU"
    rep = "nr"
    nls_index = 12

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "bus_intr_lvl"
    deflt = "14"
    values = "3,4,5,7,10,11,12,14"
    width = ""
    type = "I"
    generic = "D"
    rep = "nl"
    nls_index = 4

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "intr_priority"
    deflt = "3"
    values = "3"
    width = ""
    type = "P"
    generic = "D"
    rep = "nl"
    nls_index = 5

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "dma_lvl"
    deflt = "3"
    values = "0-14,1"
    width = ""
    type = "A"
    generic = "D"
    rep = "nr"
    nls_index = 6

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "id"
    deflt = "7"
    values = "0-7,1"
    width = ""
    type = "R"
    generic = "UD"
    rep = "nr"
    nls_index = 7

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "ucode"
    deflt = ""
    values = ""
    width = ""
    type = "R"
    generic = "D"
    rep = "sl"
    nls_index = 9

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "bb"
    deflt = "no"
    values = "yes,no"
    width = ""
    type = "R"
    generic = "UD"
    rep = "slb"
    nls_index = 10

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "tm"
    deflt = "no"
    values = "yes,no"
    width = ""
    type = "R"
    generic = "UD"
    rep = "slb"
    nls_index = 14

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "tme"
    deflt = "no"
    values = "yes,no"
    width = ""
    type = "R"
    generic = "D"
    rep = "slb"
    nls_index = 15

    PdAt:
    uniquetype = "adapter/sio/hscsi"
    attribute = "tmp"
    deflt = "50"
    values = "0-75,1"
    width = "1"
    type = "R"
    generic = "UD"
    rep = "nr"
    nls_index = 13

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Louis Ohland@21:1/5 to Christian Holzapfel on Wed Jan 4 16:39:28 2023
    Yes, definitely a psycho-social deviant.

    Christian Holzapfel wrote:
    Christian Holzapfel schrieb am Mittwoch, 4. Januar 2023 um 15:48:49 UTC+1:
    I would say (and may be wrong here) that it is up to the kernel mode driver to translate the made selection from the ODM items (e.g. if interrupt 3, 5 or 7) into POS register bits.

    Some weiro who just looked into the AIX 4.1.3 source code found exactly that translation being part of the DRIVER when it's about the Corvette (bos/diag/tu/corv/corvette.c). No source code available for the 4-4.
    Hope I will never see that guy again...


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)