Compare commits

..

No commits in common. "daniel/fixes" and "master" have entirely different histories.

1 changed files with 2 additions and 3 deletions

View File

@ -294,13 +294,13 @@ int at93c46_op_write(struct pci_dev *d, uint8_t addr, uint16_t data)
return 0;
}
/* enable write access */
/* endable write access */
int at93c46_op_ewen(struct pci_dev *d)
{
return at93c46_op(d, AT93_OP_MISC, 0x30, 0);
}
/* erase a word */
/* endable write access */
int at93c46_op_erase(struct pci_dev *d, uint8_t addr)
{
int i, rc;
@ -317,7 +317,6 @@ int at93c46_op_erase(struct pci_dev *d, uint8_t addr)
//rc = rtlspi_xceive_bit(d, 0);
if (rc == 1)
break;
rtlspi_delay();
}
rtlspi_pin_set(d, RTLSPI_CS, 0);