linux/drivers/s390
Cai Huoqing c85bd3dacc net/ism: Remove redundant pci_clear_master
Remove pci_clear_master to simplify the code,
the bus-mastering is also cleared in do_pci_disable_device,
like this:
./drivers/pci/pci.c:2197
static void do_pci_disable_device(struct pci_dev *dev)
{
	u16 pci_command;

	pci_read_config_word(dev, PCI_COMMAND, &pci_command);
	if (pci_command & PCI_COMMAND_MASTER) {
		pci_command &= ~PCI_COMMAND_MASTER;
		pci_write_config_word(dev, PCI_COMMAND, pci_command);
	}

	pcibios_disable_device(dev);
}.
And dev->is_busmaster is set to 0 in pci_disable_device.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-03-24 09:13:42 +00:00
..
block s390/dasd: Fix potential memleak in dasd_eckd_init() 2023-02-09 17:05:43 -07:00
char TTY/Serial driver updates for 6.3-rc1 2023-02-24 12:17:14 -08:00
cio Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
crypto s390 updates for 6.3 merge window part 2 2023-03-03 09:38:01 -08:00
net net/ism: Remove redundant pci_clear_master 2023-03-24 09:13:42 +00:00
scsi scsi: zfcp: Trace when request remove fails after qdio send fails 2023-02-21 22:00:51 -05:00
virtio s390/virtio: sort out physical vs virtual pointers usage 2023-02-08 09:59:46 +01:00
Makefile