���� ���� ����

8. PLIP�� LP�� �Բ��������� ��ġ��

PLIP�� LP�� �Բ� ����ϴ� ���� ���� ����� Ŀ�� ����� ����ϴ� ���̴�.: ����� plip.o�� �ε����� �����ͳ� �̿��� ���� �� ���� �ε����� ���� �� �ִ�. ����� �������� PLIP�� LP�� �Բ� ����Ϸ��� �Ѵٸ� ������ ��ġ���� �����ʽÿ�.

8.1 ���� ��Ʈ�� PLIP�� LP ����ϱ�

� ������ ����� PLIP�� LP�� Ŀ�ο����ؼ� �Բ� ����Ϸ��� �Ѵٸ�, �� ��ġ���� ����ϱ� �ٶ���.

����� �Ʒ��� �ڵ带 �����Ͽ����ϸ�, ������ ���� ���ϵ��� �ݵ�� ����ϱ� �ٶ���:


******** modifications to linux/drivers/char/lp.c ***********************
struct lp_struct lp_table[] = {
        { 0x3bc, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL,
NULL, },
/*      { 0x378, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL,
NULL, },
        { 0x278, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL,
NULL, },
*/
};
#define LP_NO 1

******** modifications to linux/drivers/net/Space.c ********************
#if defined(PLIP) || defined(CONFIG_PLIP)
    extern int plip_init(struct device *);
    static struct device plip2_dev = {
        "plip2", 0, 0, 0, 0, 0x278, 2, 0, 0, 0, NEXT_DEV, plip_init, };
    static struct device plip1_dev = {
        "plip1", 0, 0, 0, 0, 0x378, 7, 0, 0, 0, &plip2_dev, plip_init, };
/*    static struct device plip0_dev = {
        "plip0", 0, 0, 0, 0, 0x3BC, 5, 0, 0, 0, &plip1_dev, plip_init, };
*/
#   undef NEXT_DEV
#   define NEXT_DEV     (&plip1_dev)
#endif  /* PLIP */

����, �̰��� ǥ������ ����� �ƴϴ�: ���� �� ��ġ���� �ް� ���� �ߴ� ���� ���. �̰��� ��� ������ �غ��ƾ����� �ǹ��Ѵ�. �ƹ�ư, ����� ���� ū ������ �� ������ �����ϰ� �� ������ �Ͽ��� �Ѵٴ� ���̴�.

8.2 �ٸ� ��Ʈ�� PLIP�� LP ����ϱ�

�� ��ġ�� Ȱ���ϱ� ���ؼ��� ��� 2���� ������Ʈ�� ������ ���ʿ��� PLIP�� �ٸ� ���� LP�� ����ؾ��Ѵ�.

  1. drivers/char/lp.c���� �ٸ� �ҽ��� ������ �ּ� ó���϶�.
    struct lp_struct lp_table[] = {
    { 0x3bc, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL, NULL, },
    { 0x378, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL, NULL, },
    /* { 0x278, 0, 0, LP_INIT_CHAR, LP_INIT_TIME, LP_INIT_WAIT, NULL, NULL, }, */
    }; 
        3 -> 2
    

  2. Ŀ�� ����
    PLIP (parallel port) support (CONFIG_PLIP) [n] y
    
    Parallel Printer support [y] y
    
  3. �����Ҷ��� Ŀ���� �޽���
    lp1 at 0x0378, using polling driver
    .....
    NET3 PLIP version 2.0 gniibe@mri.co.jp
    plip2: Parallel port at 0x278, using assigned IRQ 5.
    

�ٽ� ������ 8.1�� ����.


���� ���� ����