int register_blkdev (unsigned int major, const char * name);
[링크 : https://www.kernel.org/doc/htmldocs/kernel-api/API-register-blkdev.html]
int __register_chrdev ( unsigned int major,
unsigned int baseminor,
unsigned int count,
const char * name,
const struct file_operations * fops);
[링크 : http://linux.die.net/lkmpg/x892.html]
[링크 : http://linux.die.net/lkmpg/x569.html]
[링크 : https://wiki.kldp.org/KoreanDoc/html/EmbeddedKernel-KLDP/device-understanding.html]
'Linux API > linux' 카테고리의 다른 글
리눅스 커널 모듈 관련 문서 (0) | 2015.11.06 |
---|---|
readl(), writel() (0) | 2015.11.06 |
linux open mode (0) | 2015.10.29 |
named pipe / mkfifo() (0) | 2015.10.27 |
signal (0) | 2015.10.26 |