[S390] qdio: fix qeth port count detection
qeth needs to get the port count information before qdio has allocated a page for the chsc operation. Extend qdio_get_ssqd_desc() to store the data in the specified structure. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
		
					parent
					
						
							
								43c207e6e5
							
						
					
				
			
			
				commit
				
					
						bbd50e172f
					
				
			
		
					 5 changed files with 55 additions and 30 deletions
				
			
		|  | @ -373,16 +373,16 @@ struct qdio_initialize { | |||
| #define QDIO_FLAG_SYNC_OUTPUT		0x02 | ||||
| #define QDIO_FLAG_PCI_OUT		0x10 | ||||
| 
 | ||||
| extern int qdio_initialize(struct qdio_initialize *init_data); | ||||
| extern int qdio_allocate(struct qdio_initialize *init_data); | ||||
| extern int qdio_establish(struct qdio_initialize *init_data); | ||||
| extern int qdio_initialize(struct qdio_initialize *); | ||||
| extern int qdio_allocate(struct qdio_initialize *); | ||||
| extern int qdio_establish(struct qdio_initialize *); | ||||
| extern int qdio_activate(struct ccw_device *); | ||||
| 
 | ||||
| extern int do_QDIO(struct ccw_device*, unsigned int flags, | ||||
| 		   int q_nr, int qidx, int count); | ||||
| extern int qdio_cleanup(struct ccw_device*, int how); | ||||
| extern int qdio_shutdown(struct ccw_device*, int how); | ||||
| extern int do_QDIO(struct ccw_device *cdev, unsigned int callflags, | ||||
| 		   int q_nr, int bufnr, int count); | ||||
| extern int qdio_cleanup(struct ccw_device*, int); | ||||
| extern int qdio_shutdown(struct ccw_device*, int); | ||||
| extern int qdio_free(struct ccw_device *); | ||||
| extern struct qdio_ssqd_desc *qdio_get_ssqd_desc(struct ccw_device *cdev); | ||||
| extern int qdio_get_ssqd_desc(struct ccw_device *dev, struct qdio_ssqd_desc*); | ||||
| 
 | ||||
| #endif /* __QDIO_H__ */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jan Glauber
				Jan Glauber