# Re: \[PATCH 09/10\] ide: don't abuse cmd\_type

- From: David Miller \<davem@davemloft.net\>
- Date: 2017-01-31 16:13:27 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2017/01/4924446
- Thread: https://ratatoskr.run/linux-block/2017/01/4924452/t.md

```text
From: Christoph Hellwig <hch@lst.de>
Date: Tue, 31 Jan 2017 16:57:30 +0100

> Currently the legacy ide driver defines several request types of it's own,
> which is in the way of removing that field entirely.
> 
> Instead add a type field to struct ide_request and use that to distinguish
> the different types of IDE-internal requests.
> 
> It's a bit of a mess, but so is the surrounding code..
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Acked-by: David S. Miller <davem@davemloft.net>
```
