forked from sailfishos/ofono
		
	
			
				
					
						
					
					e01df1a3f1842828a7cf3c15dc151605db51134e
				
			
			
		
	This adds, but does not hook up, support for simple serial modems. These modems generally have only a single device node so are simpler than the USB devices which generally have different device nodes for different functions. These modems are currently handled by udev.c, but this functionality will allow to remove that module completely in a later patch. - A new "device_info" type is created called serial_device_info - the function add_serial_device sets up a modem_info structure and a serial_device_info for the device - A reference to the device's udev node is saved in the device info - The device driver is retrieved from the OFONO_DRIVER environment variable which needs to be set up by some udev rule - Setup functions are added for these types of devices: a common function setup_serial_modem covers the generic (simple) case, whereas modems with special requirements are given their own setup functions to handle the special bits - Modem destroy needs to know the "device_info" type in order to clean up properly, so a 'type' value is set on the modem_info structure to guide selection of the proper cleanup function
Description
				No description provided
						
						
						
					Languages
				
				
								
								
									C
								
								97.5%
							
						
							
								
								
									Python
								
								1.7%
							
						
							
								
								
									Makefile
								
								0.5%
							
						
							
								
								
									M4
								
								0.2%