PCI IDE cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | ide: change cast to DO_UPCASThw/ | +2 | 0 replies | |
| 2/12 | ide: Remove cast in pci_register_barhw/ | +6 | 0 replies | |
| 3/12 | ide: Remove duplicated definitionshw/ | +0 | 0 replies | |
| 4/12 | ide: remove uselsess casts from void *hw/ hw/ | +13 | 0 replies | |
| 5/12 | ide: create ide/pci.h for common ide pci definitionshw/ hw/ | +19 | 0 replies | |
| 6/12 | ide: export needed ide-pci functions for splithw/ hw/ | +20 | 0 replies | |
| 7/12 | ide: split cmd646 and piix from pci.cMakefile.target hw/ hw/ +1 more | +482 | 0 replies | |
| 8/12 | ide: PCIIDEState type field is not needed anymorehw/ hw/ hw/ | +11 | 0 replies | |
| 9/12 | ide: 'secondary' field is only used by cmd646hw/ | +1 | 0 replies | |
| 10/12 | ide: cmd646 we can get the pci device with container_ofhw/ | +11 | 0 replies | |
| 11/12 | ide: cmd646 ->unit has just the value that we wanthw/ | +2 | 0 replies | |
| 12/12 | ide: BMDMAState don't need a pci_dev field anymorehw/ hw/ hw/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/12] PCI IDE cleanup
This patch cleans ide/pci.c:
- useless casts
- split piix and cmd646 from pci.c, this allows remove some code
- clean cmd646 to allow th eremoval of pci_dev from BMDMAState.
Later, Juan.
Juan Quintela (12):
ide: change cast to DO_UPCAST
ide: Remove cast in pci_register_bar
ide: Remove duplicated definitions
ide: remove uselsess casts from void *
ide: create ide/pci.h for common ide pci definitions
ide: export needed ide-pci functions for split
ide: split cmd646 and piix from pci.c
ide: PCIIDEState type field is not needed anymore
ide: 'secondary' field is only used by cmd646
ide: cmd646 we can get the pci device with container_of
ide: cmd646 ->unit has just the value that we want
ide: BMDMAState don't need a pci_dev field anymore
Makefile.target | 7 +- hw/ide/cmd646.c | 272 ++++++++++++++++++++++++++++++++++++ hw/ide/internal.h | 7 - hw/ide/microdrive.c | 18 ++-- hw/ide/mmio.c | 8 +- hw/ide/pci.c | 378 ++------------------------------------------------- hw/ide/pci.h | 23 +++ hw/ide/piix.c | 195 ++++++++++++++++++++++++++ 8 files changed, 518 insertions(+), 390 deletions(-) create mode 100644 hw/ide/cmd646.c create mode 100644 hw/ide/pci.h create mode 100644 hw/ide/piix.c