|
33 | 33 |
|
34 | 34 | namespace Kernel {
|
35 | 35 |
|
36 |
| -UNMAP_AFTER_INIT NonnullRefPtr<PATADiskDevice> PATADiskDevice::create(const IDEController& controller, IDEChannel& channel, DriveType type, InterfaceType interface_type, u16 cylinders, u16 heads, u16 spt, u16 capabilities, int major, int minor) |
| 36 | +UNMAP_AFTER_INIT NonnullRefPtr<PATADiskDevice> PATADiskDevice::create(const IDEController& controller, IDEChannel& channel, DriveType type, InterfaceType interface_type, u16 cylinders, u16 heads, u16 spt, u16 capabilities) |
37 | 37 | {
|
38 |
| - return adopt(*new PATADiskDevice(controller, channel, type, interface_type, cylinders, heads, spt, capabilities, major, minor)); |
| 38 | + return adopt(*new PATADiskDevice(controller, channel, type, interface_type, cylinders, heads, spt, capabilities)); |
39 | 39 | }
|
40 | 40 |
|
41 |
| -UNMAP_AFTER_INIT PATADiskDevice::PATADiskDevice(const IDEController& controller, IDEChannel& channel, DriveType type, InterfaceType interface_type, u16 cylinders, u16 heads, u16 spt, u16 capabilities, int major, int minor) |
42 |
| - : StorageDevice(controller, major, minor, 512, 0) |
| 41 | +UNMAP_AFTER_INIT PATADiskDevice::PATADiskDevice(const IDEController& controller, IDEChannel& channel, DriveType type, InterfaceType interface_type, u16 cylinders, u16 heads, u16 spt, u16 capabilities) |
| 42 | + : StorageDevice(controller, 512, 0) |
43 | 43 | , m_cylinders(cylinders)
|
44 | 44 | , m_heads(heads)
|
45 | 45 | , m_sectors_per_track(spt)
|
|
0 commit comments