viohs.c (cb5629b10d64a8006622ce3a52bc887d91057d69) | viohs.c (6cb79b3f3ba2b14590cac02ee13ab7410b6225ed) |
---|---|
1/* viohs.c: LDOM Virtual I/O handshake helper layer. 2 * 3 * Copyright (C) 2007 David S. Miller <davem@davemloft.net> 4 */ 5 6#include <linux/kernel.h> 7#include <linux/module.h> 8#include <linux/string.h> --- 349 unchanged lines hidden (view full) --- 358 case VIO_SUBTYPE_ACK: 359 return process_ver_ack(vio, pkt); 360 361 case VIO_SUBTYPE_NACK: 362 return process_ver_nack(vio, pkt); 363 364 default: 365 return handshake_failure(vio); | 1/* viohs.c: LDOM Virtual I/O handshake helper layer. 2 * 3 * Copyright (C) 2007 David S. Miller <davem@davemloft.net> 4 */ 5 6#include <linux/kernel.h> 7#include <linux/module.h> 8#include <linux/string.h> --- 349 unchanged lines hidden (view full) --- 358 case VIO_SUBTYPE_ACK: 359 return process_ver_ack(vio, pkt); 360 361 case VIO_SUBTYPE_NACK: 362 return process_ver_nack(vio, pkt); 363 364 default: 365 return handshake_failure(vio); |
366 }; | 366 } |
367} 368 369static int process_attr(struct vio_driver_state *vio, void *pkt) 370{ 371 int err; 372 373 if (!(vio->hs_state & VIO_HS_GOTVERS)) 374 return handshake_failure(vio); --- 450 unchanged lines hidden --- | 367} 368 369static int process_attr(struct vio_driver_state *vio, void *pkt) 370{ 371 int err; 372 373 if (!(vio->hs_state & VIO_HS_GOTVERS)) 374 return handshake_failure(vio); --- 450 unchanged lines hidden --- |