SuperIO driver redesign.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SuperIO update.

This update contains mostly stub drivers for SCx200/SC1100 SuperIO, and
stub driver( it can not be found neither in scx200/sc1100 chip nor in
pc87366 chip) for Access buss logical device.

Main feature is logical device cloning feature:
When new logical device is being added SuperIO core checks if any
registered SuperIO chip expects this logical device but with different
index, then SuperIO core will clone logical device being added and
registers clones with appropriate sc_dev devices. When logical device is
being removed, then SuperIO core finds all it's clones(by looking into
ldev_list) and remove them also.

Please review and comment.


This will include following changeset:

# do not edit -- automatically generated by arch changelog
# arch-tag:
automatic-ChangeLog--johnpol at 2ka.mipt.ru-2004/soekris--main--0
#

2004-09-03 18:39:39 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-46

    Summary:
      Fixed unclone bug. Process all logical devices that SuperIO chips
has in it's structure, little optimization in reference counting in
sc_ldev_clone().    Revision:
      soekris--main--0--patch-46

    Fixed unclone bug. Bit operation must be done on pointers to the
bitfield.    
    Process all logical devices that SuperIO chips has in it's
structure, do not break if    first one was not activated.
    
    Little optimization in reference counting - increment original
logical device refcnt after it was copied.

    modified files:
     sc.c


2004-09-03 13:12:03 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-45

    Summary:
      Added scx200.c - driver for SCx200/SC1100 SuperIO chips.
    Revision:
      soekris--main--0--patch-45

    Added scx200.c - driver for SCx200/SC1100 SuperIO chips.

    new files:
     .arch-ids/scx200.c.id scx200.c

    modified files:
     Makefile


2004-09-03 13:10:10 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-44

    Summary:
      Commented unused variable.
    Revision:
      soekris--main--0--patch-44

    Commented unused variable.

    modified files:
     sc_gpio.c


2004-09-03 13:04:33 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-43

    Summary:
      Finished cloning mechanism.
    Revision:
      soekris--main--0--patch-43

    Finished cloning mechanism.
    When new logical device is being added SuperIO core checks if any
registered SuperIO chip expects     this logical device but with
different index, then SuperIO core will clone logical device being added
    and registers clones with appropriate sc_dev devices.
    When logical device is being removed, then SuperIO core finds all
it's clones(by looking into ldev_list)    and remove them also.

    modified files:
     sc.c sc.h


2004-09-03 08:19:39 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-42

    Summary:
      Moved SIO_ definitions common to all SuperIO chips into sc.h
    Revision:
      soekris--main--0--patch-42

    Moved SIO_ definitions common to all SuperIO chips into sc.h

    modified files:
     pc8736x.h


2004-09-03 08:18:23 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-41

    Summary:
      Set orig_dev to NULL in initialization time.
    Revision:
      soekris--main--0--patch-41

    Set orig_dev to NULL in initialization time.
    This means that in initialization time we do not have any clones of
this device.

    modified files:
     sc_acb.c sc_gpio.c


2004-09-03 08:16:38 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-40

    Summary:
      Changed locking schema, added cloning functions.
    Revision:
      soekris--main--0--patch-40

    Changed locking schema - get appropriate lock when access to logical
device or sc device.    This will be needed when we will add/remove
different device not only in loading/unloading    time but in any other
moment through clone creating.    
    Added cloning functions.

    modified files:
     sc.c sc.h


2004-09-03 05:31:30 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-39

    Summary:
      Changed name for the struct sc_sio_chip to sc_chip_id.
    Revision:
      soekris--main--0--patch-39

    Changed name for the struct sc_sio_chip to sc_chip_id.

    modified files:
     pc8736x.c sc.h


2004-09-03 05:20:57 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-38

    Summary:
      Added sc_get_ldev_index() - search logical device by name and
index.    Revision:
      soekris--main--0--patch-38

    Added sc_get_ldev_index() - search logical device by name and index.

    modified files:
     sc.c


2004-09-03 04:29:26 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-37

    Summary:
      Added sc_acb.c - driver for Access Bus logical device.
    Revision:
      soekris--main--0--patch-37

    Added sc_acb.c - driver for Access Bus logical device.

    new files:
     .arch-ids/sc_acb.c.id sc_acb.c

    modified files:
     Makefile pc8736x.h


2004-09-03 04:27:21 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-36

    Summary:
      Compilation fix in sc_sdev_equal().
    Revision:
      soekris--main--0--patch-36

    Compilation fix in sc_sdev_equal().

    modified files:
     sc.c


2004-09-03 04:24:44 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-35

    Summary:
      Added sc_{sdev,ldev}_equal() functions.
    Revision:
      soekris--main--0--patch-35

    Added sc_{sdev,ldev}_equal() functions.
    The check if two given sdev/ldev are equal.

    modified files:
     sc.c


2004-09-02 11:15:59 GMT	Evgeniy Polyakov <johnpol at 2ka.mipt.ru>	patch-34

    Summary:
      Changes module description.
    Revision:
      soekris--main--0--patch-34

    Changes module description.
    sc_gpio.c is not driver for any w1 device.

    modified files:
     sc_gpio.c



	Evgeniy Polyakov ( s0mbre )

Only failure makes us experts. -- Theo de Raadt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sc.diff
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040903/1e621df1/attachment.pl 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux