devinfo_storage.h revision 3121:a0d9ec5b5403
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 19extern DevinfoDevHandler devinfo_ide_handler; 20extern DevinfoDevHandler devinfo_scsi_handler; 21extern DevinfoDevHandler devinfo_pcata_handler; 22extern DevinfoDevHandler devinfo_floppy_handler; 23extern DevinfoDevHandler devinfo_lofi_handler; 24 25gboolean devinfo_storage_device_rescan (HalDevice *d); 26HalDevice *devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path, 27 char *device_type, gboolean rescan, HalDevice *lofi_d); 28void devinfo_lofi_remove_minor(char *parent_devfs_path, char *name); 29void devinfo_storage_mnttab_event (HalDevice *hal_volume); 30void devinfo_volume_hotplug_begin_remove (HalDevice *d, char *devfs_path, void *end_token); 31 32#endif /* DEVINFO_STORAGE_H */ 33