Minor whitespace nits. remove #if 1 and #endif pair, but not code between.
This commit is contained in:
parent
4b7886733a
commit
ce61f92eb6
@ -827,7 +827,6 @@ sn_intr(void *arg)
|
||||
* Receive Overrun.
|
||||
*/
|
||||
if (status & IM_RX_OVRN_INT) {
|
||||
|
||||
/*
|
||||
* Acknowlege Interrupt
|
||||
*/
|
||||
@ -840,29 +839,24 @@ sn_intr(void *arg)
|
||||
* Got a packet.
|
||||
*/
|
||||
if (status & IM_RCV_INT) {
|
||||
#if 1
|
||||
int packet_number;
|
||||
|
||||
SMC_SELECT_BANK(2);
|
||||
packet_number = inw(BASE + FIFO_PORTS_REG_W);
|
||||
|
||||
if (packet_number & FIFO_REMPTY) {
|
||||
|
||||
/*
|
||||
* we got called , but nothing was on the FIFO
|
||||
*/
|
||||
printf("sn: Receive interrupt with nothing on FIFO\n");
|
||||
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
snread(ifp);
|
||||
}
|
||||
/*
|
||||
* An on-card memory allocation came through.
|
||||
*/
|
||||
if (status & IM_ALLOC_INT) {
|
||||
|
||||
/*
|
||||
* Disable this interrupt.
|
||||
*/
|
||||
@ -875,7 +869,6 @@ sn_intr(void *arg)
|
||||
* called when there is an error, because of the AUTO_RELEASE mode.
|
||||
*/
|
||||
if (status & IM_TX_INT) {
|
||||
|
||||
/*
|
||||
* Acknowlege Interrupt
|
||||
*/
|
||||
|
@ -61,6 +61,7 @@ static const struct pccard_product sn_pccard_products[] = {
|
||||
#endif
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static int
|
||||
sn_pccard_match(device_t dev)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user