/* We can add another packet to a transmit queue if the packet pointer pointed to by the TxAdd pointer has PKT_IN_USE clear in its address.  */
int can_add_transmit(struct PKT __iomem **PktP, struct Port *PortP)
/* We can add another packet to a transmit queue if the packet pointer pointed to by the TxAdd pointer has PKT_IN_USE clear in its address.  */
int can_add_transmit(struct PKT __iomem **PktP, struct Port *PortP)
{
	struct PKT __iomem *tp;
	*PktP = tp = (struct PKT __iomem *) RIO_PTR(PortP->Caddr, readw(PortP->TxAdd));
	return !((unsigned long) tp & PKT_IN_USE);
}