Changeset fdaa1354 in rtems


Ignore:
Timestamp:
Oct 16, 2009, 7:44:34 AM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
1560d12
Parents:
b07eae7b
Message:

Update for block device API change.

Location:
c/src/lib/libbsp/arm/gp32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/gp32/ChangeLog

    rb07eae7b rfdaa1354  
     12009-10-16      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * smc/smc.c: Update for block device API change.
     4
    152009-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • c/src/lib/libbsp/arm/gp32/smc/smc.c

    rb07eae7b rfdaa1354  
    590590 */
    591591static int
    592 smc_ioctl(dev_t dev, uint32_t req, void *argp)
     592smc_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)
    593593{
    594594    switch (req)
     
    647647    dev = rtems_filesystem_make_dev_t(major, 0);
    648648    rc = rtems_disk_create_phys(dev, 512, block_num,
    649                                     smc_ioctl, SMC_DEVICE_NAME);
     649                                    smc_ioctl, NULL, SMC_DEVICE_NAME);
    650650
    651651    return RTEMS_SUCCESSFUL;
Note: See TracChangeset for help on using the changeset viewer.