xref: /illumos-gate/usr/src/cmd/hal/hald/solaris/devinfo_storage.h (revision 3f7d54a6b84904c8f4d8daa4c7b577bede7df8b9)
1 /***************************************************************************
2  *
3  * devinfo_storage.h : definitions for storage devices
4  *
5  * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
6  *
7  * Licensed under the Academic Free License version 2.1
8  *
9  **************************************************************************/
10 
11 #ifndef DEVINFO_STORAGE_H
12 #define DEVINFO_STORAGE_H
13 
14 #include "devinfo.h"
15 
16 extern DevinfoDevHandler devinfo_ide_handler;
17 extern DevinfoDevHandler devinfo_scsi_handler;
18 extern DevinfoDevHandler devinfo_pcata_handler;
19 extern DevinfoDevHandler devinfo_blkdev_handler;
20 extern DevinfoDevHandler devinfo_floppy_handler;
21 extern DevinfoDevHandler devinfo_lofi_handler;
22 
23 gboolean devinfo_storage_device_rescan (HalDevice *d);
24 HalDevice *devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path,
25     char *device_type, gboolean rescan, HalDevice *lofi_d);
26 void devinfo_lofi_remove_minor(char *parent_devfs_path, char *name);
27 void devinfo_storage_mnttab_event (HalDevice *hal_volume);
28 void devinfo_volume_hotplug_begin_remove (HalDevice *d, char *devfs_path, void *end_token);
29 
30 #endif /* DEVINFO_STORAGE_H */
31