Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
055162dc
Commit
055162dc
authored
Feb 25, 2004
by
Stephen Hemminger
Committed by
David S. Miller
Feb 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Kill dev_flags, unused.
parent
2a105ac8
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
0 additions
and
35 deletions
+0
-35
drivers/net/irda/ali-ircc.c
drivers/net/irda/ali-ircc.c
+0
-2
drivers/net/irda/donauboe.c
drivers/net/irda/donauboe.c
+0
-4
drivers/net/irda/irda-usb.c
drivers/net/irda/irda-usb.c
+0
-8
drivers/net/irda/irport.c
drivers/net/irda/irport.c
+0
-3
drivers/net/irda/nsc-ircc.c
drivers/net/irda/nsc-ircc.c
+0
-2
drivers/net/irda/sir_dev.c
drivers/net/irda/sir_dev.c
+0
-2
drivers/net/irda/smsc-ircc2.c
drivers/net/irda/smsc-ircc2.c
+0
-2
drivers/net/irda/via-ircc.c
drivers/net/irda/via-ircc.c
+0
-3
drivers/net/irda/w83977af_ir.c
drivers/net/irda/w83977af_ir.c
+0
-2
include/net/irda/ali-ircc.h
include/net/irda/ali-ircc.h
+0
-1
include/net/irda/au1000_ircc.h
include/net/irda/au1000_ircc.h
+0
-1
include/net/irda/irda-usb.h
include/net/irda/irda-usb.h
+0
-1
include/net/irda/nsc-ircc.h
include/net/irda/nsc-ircc.h
+0
-1
include/net/irda/smc-ircc.h
include/net/irda/smc-ircc.h
+0
-1
include/net/irda/toshoboe.h
include/net/irda/toshoboe.h
+0
-1
include/net/irda/w83977af_ir.h
include/net/irda/w83977af_ir.h
+0
-1
No files found.
drivers/net/irda/ali-ircc.c
View file @
055162dc
...
...
@@ -299,8 +299,6 @@ static int ali_ircc_open(int i, chipio_t *info)
irda_qos_bits_to_value
(
&
self
->
qos
);
self
->
flags
=
IFF_FIR
|
IFF_MIR
|
IFF_SIR
|
IFF_DMA
|
IFF_PIO
;
// benjamin 2000/11/8 05:27PM
/* Max DMA buffer size needed = (data_size + 6) * (window_size) + 6; */
self
->
rx_buff
.
truesize
=
14384
;
self
->
tx_buff
.
truesize
=
14384
;
...
...
drivers/net/irda/donauboe.c
View file @
055162dc
...
...
@@ -1646,13 +1646,11 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid)
if
(
max_baud
>=
1152000
)
{
self
->
qos
.
baud_rate
.
bits
|=
IR_1152000
;
self
->
flags
|=
IFF_MIR
;
}
#endif
if
(
max_baud
>=
4000000
)
{
self
->
qos
.
baud_rate
.
bits
|=
(
IR_4000000
<<
8
);
self
->
flags
|=
IFF_FIR
;
}
/*FIXME: work this out... */
...
...
@@ -1660,8 +1658,6 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid)
irda_qos_bits_to_value
(
&
self
->
qos
);
self
->
flags
=
IFF_SIR
|
IFF_DMA
|
IFF_PIO
;
/* Allocate twice the size to guarantee alignment */
self
->
ringbuf
=
(
void
*
)
kmalloc
(
OBOE_RING_LEN
<<
1
,
GFP_KERNEL
);
if
(
!
self
->
ringbuf
)
...
...
drivers/net/irda/irda-usb.c
View file @
055162dc
...
...
@@ -1136,14 +1136,6 @@ static inline void irda_usb_init_qos(struct irda_usb_cb *self)
* the transmit path will be set differently - Jean II
*/
irda_qos_bits_to_value
(
&
self
->
qos
);
self
->
flags
|=
IFF_SIR
;
if
(
self
->
qos
.
baud_rate
.
value
>
115200
)
self
->
flags
|=
IFF_MIR
;
if
(
self
->
qos
.
baud_rate
.
value
>
1152000
)
self
->
flags
|=
IFF_FIR
;
if
(
self
->
qos
.
baud_rate
.
value
>
4000000
)
self
->
flags
|=
IFF_VFIR
;
}
/*------------------------------------------------------------------*/
...
...
drivers/net/irda/irport.c
View file @
055162dc
...
...
@@ -178,9 +178,6 @@ irport_open(int i, unsigned int iobase, unsigned int irq)
self
->
qos
.
min_turn_time
.
bits
=
qos_mtt_bits
;
irda_qos_bits_to_value
(
&
self
->
qos
);
self
->
flags
=
IFF_SIR
|
IFF_PIO
;
self
->
mode
=
IRDA_IRLAP
;
/* Bootstrap ZeroCopy Rx */
self
->
rx_buff
.
truesize
=
IRDA_SKB_MAX_MTU
;
self
->
rx_buff
.
skb
=
__dev_alloc_skb
(
self
->
rx_buff
.
truesize
,
...
...
drivers/net/irda/nsc-ircc.c
View file @
055162dc
...
...
@@ -302,8 +302,6 @@ static int __init nsc_ircc_open(int i, chipio_t *info)
self
->
qos
.
min_turn_time
.
bits
=
qos_mtt_bits
;
irda_qos_bits_to_value
(
&
self
->
qos
);
self
->
flags
=
IFF_FIR
|
IFF_MIR
|
IFF_SIR
|
IFF_DMA
|
IFF_PIO
|
IFF_DONGLE
;
/* Max DMA buffer size needed = (data_size + 6) * (window_size) + 6; */
self
->
rx_buff
.
truesize
=
14384
;
self
->
tx_buff
.
truesize
=
14384
;
...
...
drivers/net/irda/sir_dev.c
View file @
055162dc
...
...
@@ -620,8 +620,6 @@ struct sir_dev * sirdev_get_instance(const struct sir_driver *drv, const char *n
SET_MODULE_OWNER
(
ndev
);
dev
->
flags
=
IFF_SIR
|
IFF_PIO
;
/* Override the network functions we need to use */
ndev
->
hard_start_xmit
=
sirdev_hard_xmit
;
ndev
->
open
=
sirdev_open
;
...
...
drivers/net/irda/smsc-ircc2.c
View file @
055162dc
...
...
@@ -441,8 +441,6 @@ static int __init smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u
smsc_ircc_setup_qos
(
self
);
self
->
flags
=
IFF_FIR
|
IFF_MIR
|
IFF_SIR
|
IFF_DMA
|
IFF_PIO
;
smsc_ircc_init_chip
(
self
);
if
(
ircc_transceiver
>
0
&&
...
...
drivers/net/irda/via-ircc.c
View file @
055162dc
...
...
@@ -377,9 +377,6 @@ static __devinit int via_ircc_open(int i, chipio_t * info, unsigned int id)
self
->
qos
.
min_turn_time
.
bits
=
qos_mtt_bits
;
irda_qos_bits_to_value
(
&
self
->
qos
);
self
->
flags
=
IFF_FIR
|
IFF_MIR
|
IFF_SIR
|
IFF_DMA
|
IFF_PIO
|
IFF_DONGLE
;
/* Max DMA buffer size needed = (data_size + 6) * (window_size) + 6; */
self
->
rx_buff
.
truesize
=
14384
+
2048
;
self
->
tx_buff
.
truesize
=
14384
+
2048
;
...
...
drivers/net/irda/w83977af_ir.c
View file @
055162dc
...
...
@@ -202,8 +202,6 @@ int w83977af_open(int i, unsigned int iobase, unsigned int irq,
self
->
qos
.
min_turn_time
.
bits
=
qos_mtt_bits
;
irda_qos_bits_to_value
(
&
self
->
qos
);
self
->
flags
=
IFF_FIR
|
IFF_MIR
|
IFF_SIR
|
IFF_DMA
|
IFF_PIO
;
/* Max DMA buffer size needed = (data_size + 6) * (window_size) + 6; */
self
->
rx_buff
.
truesize
=
14384
;
self
->
tx_buff
.
truesize
=
4000
;
...
...
include/net/irda/ali-ircc.h
View file @
055162dc
...
...
@@ -212,7 +212,6 @@ struct ali_ircc_cb {
spinlock_t
lock
;
/* For serializing operations */
__u32
flags
;
/* Interface flags */
__u32
new_speed
;
int
index
;
/* Instance index */
...
...
include/net/irda/au1000_ircc.h
View file @
055162dc
...
...
@@ -115,7 +115,6 @@ struct au1k_private {
struct
irlap_cb
*
irlap
;
u8
open
;
u32
flags
;
/* Interface flags */
u32
speed
;
u32
newspeed
;
...
...
include/net/irda/irda-usb.h
View file @
055162dc
...
...
@@ -159,6 +159,5 @@ struct irda_usb_cb {
__s16
new_xbofs
;
/* xbofs we need to set */
__u32
speed
;
/* Current speed */
__s32
new_speed
;
/* speed we need to set */
__u32
flags
;
/* Interface flags */
};
include/net/irda/nsc-ircc.h
View file @
055162dc
...
...
@@ -263,7 +263,6 @@ struct nsc_ircc_cb {
spinlock_t
lock
;
/* For serializing operations */
__u32
flags
;
/* Interface flags */
__u32
new_speed
;
int
index
;
/* Instance index */
...
...
include/net/irda/smc-ircc.h
View file @
055162dc
...
...
@@ -170,7 +170,6 @@ struct ircc_cb {
* synchronised - Jean II */
__u32
new_speed
;
__u32
flags
;
/* Interface flags */
int
tx_buff_offsets
[
10
];
/* Offsets between frames in tx_buff */
int
tx_len
;
/* Number of frames in tx_buff */
...
...
include/net/irda/toshoboe.h
View file @
055162dc
...
...
@@ -146,7 +146,6 @@ struct toshoboe_cb
chipio_t
io
;
/* IrDA controller information */
__u32
flags
;
/* Interface flags */
__u32
new_speed
;
struct
pci_dev
*
pdev
;
/*PCI device */
...
...
include/net/irda/w83977af_ir.h
View file @
055162dc
...
...
@@ -185,7 +185,6 @@ struct w83977af_ir {
* locking strategy. - Jean II */
spinlock_t
lock
;
/* For serializing operations */
__u32
flags
;
/* Interface flags */
__u32
new_speed
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment