xref: /illumos-gate/usr/src/cmd/hal/hald/solaris/devinfo_storage.h (revision 0bb073995ac5a95bd35f2dd790df1ea3d8c2d507)
1 /***************************************************************************
2  *
3  * devinfo_storage.h : definitions for storage devices
4  *
5  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
6  * Use is subject to license terms.
7  *
8  * Licensed under the Academic Free License version 2.1
9  *
10  **************************************************************************/
11 
12 #pragma ident	"%Z%%M%	%I%	%E% SMI"
13 
14 #ifndef DEVINFO_STORAGE_H
15 #define DEVINFO_STORAGE_H
16 
17 #include "devinfo.h"
18 
19 extern DevinfoDevHandler devinfo_ide_handler;
20 extern DevinfoDevHandler devinfo_scsi_handler;
21 extern DevinfoDevHandler devinfo_pcata_handler;
22 extern DevinfoDevHandler devinfo_floppy_handler;
23 extern DevinfoDevHandler devinfo_lofi_handler;
24 
25 gboolean devinfo_storage_device_rescan (HalDevice *d);
26 HalDevice *devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path,
27     char *device_type, gboolean rescan, HalDevice *lofi_d);
28 void devinfo_lofi_remove_minor(char *parent_devfs_path, char *name);
29 void devinfo_storage_mnttab_event (HalDevice *hal_volume);
30 void devinfo_volume_hotplug_begin_remove (HalDevice *d, char *devfs_path, void *end_token);
31 
32 #endif /* DEVINFO_STORAGE_H */
33