1MCA_WRITE_POS(9) Public Functions Provided MCA_WRITE_POS(9)
2
3
4
6 mca_write_pos - read POS register from card
7
9 void mca_write_pos(int slot, int reg, unsigned char byte);
10
12 slot
13 slot number to read from
14
15 reg
16 register to read from
17
18 byte
19 byte to write to the POS registers
20
22 Store a POS value directly from the hardware. You should not normally
23 need to use this function and should have a very good knowledge of MCA
24 bus before you do so. Doing this wrongly can damage the hardware.
25
26 This function may not be used from interrupt context.
27
28 Note that this a technically a Bad Thing, as IBM tech stuff says you
29 should only set POS values through their utilities. However, some
30 devices such as the 3c523 recommend that you write back some data to
31 make sure the configuration is consistent. I´d say that IBM is right,
32 but I like my drivers to work.
33
34 This function can´t do checks to see if multiple devices end up with
35 the same resources, so you might see magic smoke if someone screws up.
36
38 Alan Cox <alan@lxorguk.ukuu.org.uk>
39 Author.
40
41 David Weinehall
42 Author.
43
44 Chris Beauregard
45 Author.
46
48Kernel Hackers Manual 2.6. June 2019 MCA_WRITE_POS(9)