본문 바로가기

spi 보던 사이트 http://junho85.springnote.com/pages/6088695 http://panicking.kicks-ass.org/blog/index.php?m=11&y=08&entry=entry081124-171211 http://www.linuxforums.org/forum/kernel/143805-linux-2-6-29-port-spi-driver-s3c2440.html http://blog.naver.com/PostView.nhn?blogId=ondal71&logNo=120022040830 http://blog.163.com/jammy_lee/blog/static/101195478201016112945395/ http://friendlyarm.net/forum/topic/2456 http://.. 더보기
LDD_Part 1. 디바이스 드라이버의 이해 ※ Device Driver 란? 커널과 주변 장치간에 데이터를 전달 하는 프로그램이다. 이 Device Driver 는 정의 되어 있는 인터페이스(Interface)로 커널과 연결된다. ※ Linux Device Driver 종류 L.D.D 에는 Character Device Driver Block Device Driver Network Device Driver 가 있다. ※ 어떻게 장치와 커널이 연결 되는가? LINUX에서는 “모든것을 파일로 관리한다” Board에 연결된 장치도 그 장치를 표현하는 하나의 "장치 파일(device file)" 로 관리 된다. 그리고 그 장치 파일을 사용할 수 있도록 해주는 것이 장치드라이버(Device Driver)이다. (디바이스 드라이버는 다바이스를 file로 보.. 더보기
linux/Documentation/driver-model/driver struct(구조) =========== struct device_driver { char*name; struct bus_type*bus; struct completionunloaded; stcurt kobjectkobj; list_tdevices; struct module*owner; int(*probe)(struct device *dev); int(*remove)(struct device *dev); int(*suspend)(struct device *dev, pm_message_t state); int(*resume)(struct device *dev); }; Allocation(할당) =============== device driver는 정적으로 구조(structures)를 할당(allocate.. 더보기