mvs.c (fdafd315ad0d0f28a11b9fb4476a9ab059c62b92) mvs.c (a3b460d499a995eaf5a79d1b84e22b0d4eda8f2a)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2010 Alexander Motin <mav@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 91 unchanged lines hidden (view full) ---

100#define RECOVERY_READ_LOG 1
101#define RECOVERY_REQUEST_SENSE 2
102#define recovery_slot spriv_field1
103
104static int
105mvs_ch_probe(device_t dev)
106{
107
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2010 Alexander Motin <mav@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 91 unchanged lines hidden (view full) ---

100#define RECOVERY_READ_LOG 1
101#define RECOVERY_REQUEST_SENSE 2
102#define recovery_slot spriv_field1
103
104static int
105mvs_ch_probe(device_t dev)
106{
107
108 device_set_desc_copy(dev, "Marvell SATA channel");
108 device_set_desc(dev, "Marvell SATA channel");
109 return (BUS_PROBE_DEFAULT);
110}
111
112static int
113mvs_ch_attach(device_t dev)
114{
115 struct mvs_controller *ctlr = device_get_softc(device_get_parent(dev));
116 struct mvs_channel *ch = device_get_softc(dev);

--- 2333 unchanged lines hidden ---
109 return (BUS_PROBE_DEFAULT);
110}
111
112static int
113mvs_ch_attach(device_t dev)
114{
115 struct mvs_controller *ctlr = device_get_softc(device_get_parent(dev));
116 struct mvs_channel *ch = device_get_softc(dev);

--- 2333 unchanged lines hidden ---