Linux serial terminal driver - s3c6410 platform (IV)

Publisher:CuriousTravelerLatest update time:2022-06-14 Source: eefocusKeywords:linux Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

class_intf->add_dev(dev, class_intf);

mutex_unlock(&dev->class->p->class_mutex);

}

done:

put_device(dev);

return error;

 DPMError:

bus_remove_device(dev);

 BusError:

if (dev->bus)

blocking_notifier_call_chain(&dev->bus->p->bus_notifier,

    BUS_NOTIFY_DEL_DEVICE, dev);

device_remove_attrs(dev);

 AttrsError:

device_remove_class_symlinks(dev);

 SymlinkError:

if (MAJOR(dev->devt))

device_remove_sys_dev_entry(dev);

 devtattrError:

if (MAJOR(dev->devt))

device_remove_file(dev, &devt_attr);

 ueventattrError:

device_remove_file(dev, &uevent_attr);

 attrError:

kobject_uevent(&dev->kobj, KOBJ_REMOVE);

kobject_del(&dev->kobj);

 Error:

cleanup_device_parent(dev);

if (parent)

put_device(parent);

goto done;

}


[1] [2]
Keywords:linux Reference address:Linux serial terminal driver - s3c6410 platform (IV)

Previous article:Analysis of nandflash driver under Linux (3) - Based on s3c6410 platform
Next article:Linux serial terminal driver - s3c6410 platform (Part 2)

Recommended ReadingLatest update time:2024-11-16 20:35

Analysis of video loop recording system based on embedded Linux
Introduction     Video acquisition system records the scene with its intuitive video image data, and has been widely used in all walks of life. For specific application occasions, such as the process of automobile driving, due to the uncertainty and diversity of its environment, as well as the suddenness and contingen
[Microcontroller]
Analysis of video loop recording system based on embedded Linux
Some important macros and address definitions in ARM Linux
1) TEXT_OFFSET The kernel's starting position in RAM is offset from the RAM starting address. The value is 0x00008000 。/arch/arm/Makefile 111 textofs-y := 0x00008000 112 textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 113 # We don‘t want the htc bootloader to corrupt kernel during resume 114 textofs-$(CONFIG_PM_H1940) :
[Microcontroller]
How to port Linux 2.4 to embedded systems on ARM platform
At present, embedded processors based on ARM core have become the mainstream in the embedded system market. With the widespread application of ARM technology, the establishment of embedded operating systems for ARM architecture has become a hot topic in current research. S3C2410 is a 16/32-bit embedded processor devel
[Microcontroller]
How to port Linux 2.4 to embedded systems on ARM platform
Design of Embedded Video Monitoring System Based on B/S Mode
The video surveillance system accurately, clearly and quickly transmits the real-time images and data of the monitored scene to the monitoring center server. The monitoring center can directly and directly grasp the current situation of each monitored scene (including images, sounds and other sensitive data) in real
[Security Electronics]
Design of Embedded Video Monitoring System Based on B/S Mode
Design of high-speed data acquisition system for weather radar based on Linux platform
Linux is an open source, networked operating system with the characteristics of stability, high efficiency, and freely configurable kernel. Compared with VxWorks and Windows, using Linux operating system as a development platform not only has the advantage of being free, but also has extremely important significanc
[Test Measurement]
Design of high-speed data acquisition system for weather radar based on Linux platform
OK6410A Development Board (VIII) 63 linux-5.11 OK6410A Common abnormal scenarios and analysis of linux kernel space kernel exception
Abnormal situation level 1 Level 1 of abnormal scenarios is the lowest level API that shows the current status Other specific abnormal scenarios will call these APIs according to their own scenarios oops Print Unable to ... 到 --- 3. uncle Out of memory means that there is no available memory. This problem mus
[Microcontroller]
Eclipse development and debugging of ARM bare metal programs (Part 3) C language LED_LINUX using DNW
       The second program is an LED program implemented in C language. Startup.S is the startup code; led_on_c.c is the LED lighting program implemented in C language. The codes are as follows: @ @ File: Startup.S @ Function: Use it to transfer to C program @ .text .global _start _start: ldr r0, =0x56000010 @ W
[Microcontroller]
Eclipse development and debugging of ARM bare metal programs (Part 3) C language LED_LINUX using DNW
Design of RTAI Kernel Scheduler Based on CBS Algorithm
introduction Most embedded systems work in an environment with real-time requirements. Some embedded devices may require software to respond within ms, while some real-time tasks must be executed in a few ms cycle without any delay. This urgently requires a powerful and easy-to-configure real-time operating sys
[Microcontroller]
Design of RTAI Kernel Scheduler Based on CBS Algorithm
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号