mediabay.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) mediabay.c (519a6510981a98c199828df24d5d3619f6394985)
1/*
2 * Driver for the media bay on the PowerBook 3400 and 2400.
3 *
4 * Copyright (C) 1998 Paul Mackerras.
5 *
6 * Various evolutions by Benjamin Herrenschmidt & Henry Worth
7 *
8 * This program is free software; you can redistribute it and/or

--- 49 unchanged lines hidden (view full) ---

58struct media_bay_info {
59 u32 __iomem *base;
60 int content_id;
61 int state;
62 int last_value;
63 int value_count;
64 int timer;
65 struct macio_dev *mdev;
1/*
2 * Driver for the media bay on the PowerBook 3400 and 2400.
3 *
4 * Copyright (C) 1998 Paul Mackerras.
5 *
6 * Various evolutions by Benjamin Herrenschmidt & Henry Worth
7 *
8 * This program is free software; you can redistribute it and/or

--- 49 unchanged lines hidden (view full) ---

58struct media_bay_info {
59 u32 __iomem *base;
60 int content_id;
61 int state;
62 int last_value;
63 int value_count;
64 int timer;
65 struct macio_dev *mdev;
66 struct mb_ops* ops;
66 const struct mb_ops* ops;
67 int index;
68 int cached_gpio;
69 int sleeping;
70 int user_lock;
71 struct mutex lock;
72};
73
74#define MAX_BAYS 2

--- 682 unchanged lines hidden ---
67 int index;
68 int cached_gpio;
69 int sleeping;
70 int user_lock;
71 struct mutex lock;
72};
73
74#define MAX_BAYS 2

--- 682 unchanged lines hidden ---